void RebindUserList()
 {
     if (uiRoles.SelectedValue != null)
     {
         Guid roleId = (Guid)uiRoles.SelectedValue;
         DataServiceHelper.ListUserRoleAuthAsync(Globals.UserLogin.UserOrganisationId, null, roleId, ListUserRoleAuthCompleted);
     }
 }
예제 #2
0
 void RebindUserRoleAuthList()
 {
     _deleteList.Clear();
     if (uiUsers.SelectedValue != null && Guid.Parse(uiUsers.SelectedValue.ToString()) != Guid.Empty)
     {
         Globals.IsBusy = true;
         Guid userId = Guid.Parse(uiUsers.SelectedValue.ToString());
         DataServiceHelper.ListUserRoleAuthAsync(Globals.UserLogin.UserOrganisationId, userId, null, ListUserRoleAuthCompleted);
     }
 }