Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / User Class / IsInGroup Method / IsInGroup(Int32) Method
The unique ID of the group to check.
In This Topic
    IsInGroup(Int32) Method
    In This Topic
    Determines whether a user is in the given group.
    Syntax
    public virtual bool IsInGroup( 
       int groupId
    )

    Parameters

    groupId
    The unique ID of the group to check.

    Return Value

    True if the user is in the given group; 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