RoleInfoProvider GetRoleInfo Method (String, String)Kentico 8.0 API Reference
Returns the role info object with specified role name.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

roleName
Type: OnlineSystem String
Name of role to retrieve. Role name with dots is considered as global.
siteName
Type: OnlineSystem String
Site which the role depends to. If empty global role is returned.

Return Value

Type: RoleInfo
See Also