Click or drag to resize
UserInfoProviderAddUserToRole Method (String, String, String)
Adds the specified user to the role of site.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntax
C#
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