Partager via


IdentityHttpClient.AddMemberToGroupAsync Method (IdentityDescriptor, Guid, Object)

Namespace:  Microsoft.VisualStudio.Services.Identity.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Function AddMemberToGroupAsync ( _
    containerId As IdentityDescriptor, _
    memberId As Guid, _
    userState As Object _
) As Task(Of Boolean)
public Task<bool> AddMemberToGroupAsync(
    IdentityDescriptor containerId,
    Guid memberId,
    Object userState
)
public:
Task<bool>^ AddMemberToGroupAsync(
    IdentityDescriptor^ containerId, 
    Guid memberId, 
    Object^ userState
)
member AddMemberToGroupAsync : 
        containerId:IdentityDescriptor * 
        memberId:Guid * 
        userState:Object -> Task<bool> 
public function AddMemberToGroupAsync(
    containerId : IdentityDescriptor, 
    memberId : Guid, 
    userState : Object
) : Task<boolean>

Parameters

Return Value

Type: System.Threading.Tasks.Task<Boolean>

.NET Framework Security

See Also

Reference

IdentityHttpClient Class

AddMemberToGroupAsync Overload

Microsoft.VisualStudio.Services.Identity.Client Namespace