Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / User Class / IsInGroup Method / IsInGroup(ICollection<Int32>) Method
A collection of unique group IDs to check.
In This Topic
    IsInGroup(ICollection<Int32>) Method
    In This Topic
    Determines whether a user is in any of the given groups.
    Syntax
    public virtual bool IsInGroup( 
       ICollection<int> groupIds
    )

    Parameters

    groupIds
    A collection of unique group IDs to check.

    Return Value

    True if the user is in any of the given groups; false otherwise.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also