Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / Group Class / IsInRole Method / IsInRole(String) Method
The name of the role to check.
In This Topic
    IsInRole(String) Method
    In This Topic
    Determines whether this group has the given role assigned.
    Syntax
    public virtual bool IsInRole( 
       string name
    )

    Parameters

    name
    The name of the role to check.

    Return Value

    True if the group has the given role; 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