RoleInfoProviderGetRoleInfo Method (String, String) |
Returns the role info object with specified role name.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax 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:
RoleInfoSee Also