IdentityHttpClient.IsMember Method
Namespace: Microsoft.VisualStudio.Services.Identity.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function IsMember ( _
containerId As IdentityDescriptor, _
memberId As IdentityDescriptor, _
userState As Object _
) As Task(Of Boolean)
public Task<bool> IsMember(
IdentityDescriptor containerId,
IdentityDescriptor memberId,
Object userState
)
public:
Task<bool>^ IsMember(
IdentityDescriptor^ containerId,
IdentityDescriptor^ memberId,
Object^ userState
)
member IsMember :
containerId:IdentityDescriptor *
memberId:IdentityDescriptor *
userState:Object -> Task<bool>
public function IsMember(
containerId : IdentityDescriptor,
memberId : IdentityDescriptor,
userState : Object
) : Task<boolean>
Parameters
- containerId
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
- memberId
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<Boolean>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.