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