RoleInfoProviderGetRoleInfoInternal Method (String, String, Boolean) |
Returns the role info object with specified role name.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax protected virtual RoleInfo GetRoleInfoInternal(
string roleName,
string siteName,
bool globalIfNoSite
)
Parameters
- roleName
- Type: SystemString
Role name to find - siteName
- Type: SystemString
Role's site name. - globalIfNoSite
- Type: SystemBoolean
If true, global role with the same codename is returned, when no site role is found
Return Value
Type:
RoleInfoSee Also