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: 13.0.131
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