Udostępnij za pośrednictwem


ObjectsOperationsExtensions.GetObjectsByObjectIdsAsync Method

Definition

Gets the directory objects specified in a list of object IDs. You can also specify which resource collections (users, groups, etc.) should be searched by specifying the optional types parameter.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Graph.RBAC.Models.DirectoryObject>> GetObjectsByObjectIdsAsync (this Microsoft.Azure.Graph.RBAC.IObjectsOperations operations, Microsoft.Azure.Graph.RBAC.Models.GetObjectsParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member GetObjectsByObjectIdsAsync : Microsoft.Azure.Graph.RBAC.IObjectsOperations * Microsoft.Azure.Graph.RBAC.Models.GetObjectsParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Graph.RBAC.Models.DirectoryObject>>
<Extension()>
Public Function GetObjectsByObjectIdsAsync (operations As IObjectsOperations, parameters As GetObjectsParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DirectoryObject))

Parameters

operations
IObjectsOperations

The operations group for this extension method.

parameters
GetObjectsParameters

Objects filtering parameters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to