Click or drag to resize
RoleInfoProvider.RoleExistsInternal Method
Returns true if role of given name exists.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntax
C#
protected virtual bool RoleExistsInternal(
	string roleName,
	string siteName
)

Parameters

roleName
Type: System.String
Name of role
siteName
Type: System.String
Site that the role belongs to

Return Value

Type: Boolean
See Also