IUserSiteInfoProviderGetAsync Method |
Asynchronously gets an instance of the
UserSiteInfo binding structure.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax 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:
TaskUserSiteInfoReturns a task returning either an instance of
UserSiteInfo corresponding to given identifiers or null.
See Also