/// <summary> /// Retrieve the collection of built-in and custom roles for the client. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='client'> /// </param> public static RoleCollection GetRetrieveRoles(this IAccounts operations, string client) { return(operations.GetRetrieveRolesAsync(client).GetAwaiter().GetResult()); }