Click or drag to resize
MembershipUserInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
Asynchronously gets an instance of the MembershipUserInfo binding structure.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
public virtual 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: TaskMembershipUserInfo
Returns a task returning either an instance of MembershipUserInfo corresponding to given identifiers or null.

Implements

IMembershipUserInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also