Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / AbleCommerceRoleProvider Class / RoleExists Method
The name of the role to search for in the data source.
Version
RoleExists Method
Gets a value indicating whether the specified role name already exists in the role data source for the configured applicationName.
Syntax
public override bool RoleExists( 
   string roleName
)

Parameters

roleName
The name of the role to search for in the data source.

Return Value

true if the role name already exists in the data source for the configured applicationName; otherwise, false.
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