Xperience 13 API Reference
Xperience 13 API Reference
Namespaces
CMS Namespaces
CMS.Membership Namespaces
CMS.Membership
UserSiteInfoProvider Class
UserSiteInfoProvider Methods
Add Method
AddUserToSite Method
DeleteInfo Method
DeleteUserSiteInfo Method
Get Method
GetAsync Method
GetUserSiteInfo Method
GetUserSiteInfoInternal Method
GetUserSites Method
Remove Method
RemoveUserFromSite Method
SetInfo Method
SetUserSiteInfo Method
UserSiteInfoProvider
Add Method
Creates
UserSiteInfo
binding.
Namespace:
CMS.Membership
Assembly:
CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
Copy
public
virtual
void
Add
(
int
userId
,
int
siteId
)
Parameters
userId
Type:
System
Int32
User ID.
siteId
Type:
System
Int32
Site ID.
Implements
IUserSiteInfoProvider
Add(Int32, Int32)
Exceptions
Exception
Condition
ArgumentException
Thrown when
userId
or
siteId
does not identify an existing user or site respectively.
See Also
Reference
UserSiteInfoProvider Class
CMS.Membership Namespace
Copyright (c) 2023 Kentico Software
Send comments on this topic to
support@kentico.com