Click or drag to resize
IMembershipRoleInfoProviderGetAsync Method
Asynchronously gets an instance of the MembershipRoleInfo binding structure.

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

Parameters

membershipId
Type: SystemInt32
Membership ID.
roleId
Type: SystemInt32
Role ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

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