Click or drag to resize
CMSRoleProviderGetRolesForUser Method
Returns CMS roles, or Windows roles for specified user.

Namespace: CMS.MembershipProvider
Assembly: CMS.MembershipProvider (in CMS.MembershipProvider.dll) Version: 10.0.0
Syntax
C#
public override string[] GetRolesForUser(
	string username
)

Parameters

username
Type: SystemString
User name

Return Value

Type: String
Remarks
If user doesn't exists in the CMS, returns Windows roles.
See Also