Click or drag to resize
UserSiteInfoProviderAdd Method
Creates UserSiteInfo binding.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
public virtual void Add(
	int userId,
	int siteId
)

Parameters

userId
Type: SystemInt32
User ID.
siteId
Type: SystemInt32
Site ID.

Implements

IUserSiteInfoProviderAdd(Int32, Int32)
Exceptions
ExceptionCondition
ArgumentExceptionThrown when userId or siteId does not identify an existing user or site respectively.
See Also