Click or drag to resize
RoleInfoProviderGetRoleInfoInternal Method (String, String, Boolean)
Returns the role info object with specified role name.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
protected virtual RoleInfo GetRoleInfoInternal(
	string roleName,
	string siteName,
	bool globalIfNoSite
)

Parameters

roleName
Type: SystemString
Role name to find
siteName
Type: SystemString
Role's site name.
globalIfNoSite
Type: SystemBoolean
If true, global role with the same codename is returned, when no site role is found

Return Value

Type: RoleInfo
See Also