Click or drag to resize
RoleInfoProviderGetExistingRoleInfoInternal Method
Returns role object (not depending on sites).

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax
C#
protected virtual RoleInfo GetExistingRoleInfoInternal(
	string roleName,
	int siteID
)

Parameters

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

Return Value

Type: RoleInfo
See Also