/// <summary>
 /// Gets AD group membership by provided AD object Ids
 /// </summary>
 /// <param name='operations'>
 /// Reference to the Microsoft.Azure.Graph.RBAC.IObjectOperations.
 /// </param>
 /// <param name='parameters'>
 /// Required. Objects filtering parameters.
 /// </param>
 /// <returns>
 /// Server response for Active Directory objects inquiry API calls
 /// </returns>
 public static GetObjectsResult GetObjectsByObjectIds(this IObjectOperations operations, GetObjectsParameters parameters)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((IObjectOperations)s).GetObjectsByObjectIdsAsync(parameters);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Gets AD group membership by provided AD object Ids
 /// </summary>
 /// <param name='operations'>
 /// Reference to the Microsoft.Azure.Graph.RBAC.IObjectOperations.
 /// </param>
 /// <param name='parameters'>
 /// Required. Objects filtering parameters.
 /// </param>
 /// <returns>
 /// Server response for Active Directory objects inquiry API calls
 /// </returns>
 public static Task<GetObjectsResult> GetObjectsByObjectIdsAsync(this IObjectOperations operations, GetObjectsParameters parameters)
 {
     return operations.GetObjectsByObjectIdsAsync(parameters, CancellationToken.None);
 }