RoleInfoProviderGetExistingRoleInfo Method (String, Int32, Int32) |
Returns info object of role.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax public static RoleInfo GetExistingRoleInfo(
string roleName,
int siteID,
int groupId
)
Parameters
- roleName
- Type: SystemString
Role code name - siteID
- Type: SystemInt32
Role site ID - if zero all roles are picked - groupId
- Type: SystemInt32
Community group ID
Return Value
Type:
RoleInfoSee Also