Click or drag to resize
RoleInfoProviderGetExistingRoleInfoInternal Method

Note: This API is now obsolete.

Returns role object depending on site.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use Get(string, int) instead.")]
protected virtual RoleInfo GetExistingRoleInfoInternal(
	string roleName,
	int siteID
)

Parameters

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

Return Value

Type: RoleInfo
See Also