Click or drag to resize
RoleInfoProviderGetRoleInfo Method (String, String)
Returns the role info object with specified role name.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax
C#
public static RoleInfo GetRoleInfo(
	string roleName,
	string siteName
)

Parameters

roleName
Type: SystemString
Name of role to retrieve. Role name with dots is considered as global.
siteName
Type: SystemString
Site which the role depends to. If empty global role is returned.

Return Value

Type: RoleInfo
See Also