RoleInfoProviderRoleExists Method |
Returns true if role of given name exists.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntaxpublic static bool RoleExists(
string roleName,
string siteName
)
Parameters
- roleName
- Type: SystemString
Name of role - siteName
- Type: SystemString
Site that the role belongs to
Return Value
Type:
Boolean
See Also