/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='userName'> /// </param> /// <param name='permissions'> /// </param> /// <param name='roles'> /// </param> /// <param name='format'> /// Specifies response output format /// </param> public static AssignRolesResponse Post(this IAssignRolesOperations operations, string userName = default(string), IList <string> permissions = default(IList <string>), IList <string> roles = default(IList <string>), string format = "json") { return(operations.PostAsync(userName, permissions, roles, format).GetAwaiter().GetResult()); }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='userName'> /// </param> /// <param name='permissions'> /// </param> /// <param name='roles'> /// </param> /// <param name='body'> /// </param> public static AssignRolesResponse Post(this IAssignRolesOperations operations, string userName = default(string), string permissions = default(string), string roles = default(string), AssignRoles body = default(AssignRoles)) { return(operations.PostAsync(userName, permissions, roles, body).GetAwaiter().GetResult()); }