Beispiel #1
0
 public void InsertUsersInRoles(string userCode, string roleId)
 {
     DSUserTableAdapters.UsersInRolesTableAdapter helper = new DSUserTableAdapters.UsersInRolesTableAdapter();
     helper.InsertUsersInRoles(roleId, userCode);
 }
Beispiel #2
0
 public SysData.DataTable GetRoleName(string UserID)
 {
     DSUserTableAdapters.UsersInRolesTableAdapter helper = new DSUserTableAdapters.UsersInRolesTableAdapter();
     return(helper.GetRoleName(UserID));
 }
Beispiel #3
0
 public void DeleteByUserCode(string userCode, string roleName)
 {
     DSUserTableAdapters.UsersInRolesTableAdapter helper = new DSUserTableAdapters.UsersInRolesTableAdapter();
     helper.DeleteByUserCode(roleName, userCode);
 }