IMembershipUserInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken) |
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax Task<MembershipUserInfo> GetAsync(
int membershipId,
int userId,
Nullable<CancellationToken> cancellationToken = null
)
Parameters
- membershipId
- Type: SystemInt32
Membership ID. - userId
- Type: SystemInt32
User ID. - cancellationToken (Optional)
- Type: SystemNullableCancellationToken
The cancellation instruction.
Return Value
Type:
TaskMembershipUserInfoReturns a task returning either an instance of
MembershipUserInfo corresponding to given identifiers or null.
See Also