public void RemoveUsersFromOU(string identity, int ouID, string[] userNames)
        {
            this.VerifyUser(identity);
            User     user       = new User();
            OU       ou         = new OU();
            UserInfo userByName = null;

            for (int i = 0; i < userNames.Length; i++)
            {
                userByName = user.GetUserByName(userNames[i]);
                ou.RemoveUser(userByName.ID, ouID);
            }
        }
Exemple #2
0
 public void RemoveUser(int userID, int ouID)
 {
     bll.RemoveUser(userID, ouID);
 }