internal void DeleteRoleAssignment(AzRoleAssignment roleAssignment) { if (roleAssignment == null) { return; } RoleAssignments.Remove(roleAssignment); IAzScope.DeleteRole(roleAssignment.Name); HasChanged = true; }
public void DeleteRole(string name) { if (_application != null) { _application.DeleteRole(name); } else { _scope.DeleteRole(name); } }