Click or drag to resize
IUserSiteInfoProviderGetAsync Method
Asynchronously gets an instance of the UserSiteInfo binding structure.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
Task<UserSiteInfo> GetAsync(
	int userId,
	int siteId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

userId
Type: SystemInt32
User ID.
siteId
Type: SystemInt32
Site ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskUserSiteInfo
Returns a task returning either an instance of UserSiteInfo corresponding to given identifiers or null.
See Also