RoleInfoProviderGetRoleInfo Method (String, Int32) |
Returns the role info object with specified ID.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntaxpublic static RoleInfo GetRoleInfo(
string roleName,
int siteId
)
Parameters
- roleName
- Type: SystemString
Name of role to retrieve - siteId
- Type: SystemInt32
Site ID which the role depends to
Return Value
Type:
RoleInfo
See Also