UserInfoProviderAddUserToRole Method (String, String, String) |
Adds the specified user to the role of site.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax public static void AddUserToRole(
string userName,
string roleName,
string siteName
)
Parameters
- userName
- Type: SystemString
User name to add to role - roleName
- Type: SystemString
Role name - siteName
- Type: SystemString
Site name
See Also