Returns role object (not depending on sites).
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- roleName
- Type: System String
Role code name
- siteID
- Type: System Int32
Site ID - if zero all roles are picked
Return Value
Type: RoleInfoSee Also