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
- containerId
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
- memberId
Type: System.Guid
- 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.