AuthenticationHelperGetUserADRoles Method |
Gets the user roles from AD.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax public static string[] GetUserADRoles(
string userName,
RoleProvider roleProvider = null
)
Parameters
- userName
- Type: SystemString
User name - roleProvider (Optional)
- Type: System.Web.SecurityRoleProvider
Instance of RoleProvider to use. If not specified the role provider specified in .config file is used.
Return Value
Type:
StringSee Also