Click or drag to resize
RoleInfoProviderGetExistingRoleInfo Method (String, Int32)
Returns info object of role.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntax
C#
public static RoleInfo GetExistingRoleInfo(
	string roleName,
	int siteID
)

Parameters

roleName
Type: SystemString
Role code name
siteID
Type: SystemInt32
Role site ID - if zero all roles are picked

Return Value

Type: RoleInfo
See Also