Click or drag to resize
RoleInfoProviderGetExistingRoleInfoInternal Method (String, Int32, Int32)
Returns role object depending on site and group.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntax
C#
protected virtual RoleInfo GetExistingRoleInfoInternal(
	string roleName,
	int siteID,
	int groupId
)

Parameters

roleName
Type: SystemString
Role code name
siteID
Type: SystemInt32
Site ID - if zero all roles are picked
groupId
Type: SystemInt32
Community group ID

Return Value

Type: RoleInfo
See Also