RoleInfoProviderGetExistingRoleInfoInternal Method (String, Int32) |
Returns role object depending on site.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax 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:
RoleInfoSee Also