Returns the role info object with specified role name.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- roleName
- Type: System String
Role name to find
- siteName
- Type: System String
Role's site name.
- globalIfNoSite
- Type: System Boolean
If true, global role with the same codename is returned, when no site role is found
Return Value
Type: RoleInfoSee Also