Click or drag to resize
UserSiteInfoProviderAddUserToSite Method (UserInfo, SiteInfo)

Note: This API is now obsolete.

Adds specified user to the site.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IUserSiteInfoProvider.Add(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - UserSiteInfo.Provider.")]
public static void AddUserToSite(
	UserInfo ui,
	SiteInfo si
)

Parameters

ui
Type: CMS.MembershipUserInfo
User info
si
Type: CMS.SiteProviderSiteInfo
Site info
See Also