Click or drag to resize
UserInfoProviderAddUserToSite Method
Adds the specified user to the site.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
public static void AddUserToSite(
	string userName,
	string siteName
)

Parameters

userName
Type: SystemString
User name to add
siteName
Type: SystemString
Site name
See Also