Click or drag to resize
RoleInfoProviderGetRoleInfo Method (String, Int32)
Returns the role info object with specified ID.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax
C#
public 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