public static ODataValueOfIEnumerableOfUserDto GetUsersForUnitByKey(this IOrganizationUnits operations, long key, string expand = default(string), string filter = default(string), string select = default(string), string orderby = default(string), int?top = default(int?), int?skip = default(int?), bool?count = default(bool?))
 {
     return(operations.GetUsersForUnitByKeyAsync(key, expand, filter, select, orderby, top, skip, count).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Returns a collection of all non robot users and, if no other sorting is
 /// provided, will place first those associated to an unit. Allows odata query
 /// options.
 /// </summary>
 /// <remarks>
 /// Required permissions: Units.View and Users.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='key'>
 /// The Id of the unit for which the associated users are placed first.
 /// </param>
 public static ODataResponseListUserDto GetUsersForUnitByKey(this IOrganizationUnits operations, long key)
 {
     return(operations.GetUsersForUnitByKeyAsync(key).GetAwaiter().GetResult());
 }