Advertisement
Guest User

Untitled

a guest
May 27th, 2015
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.69 KB | None | 0 0
  1.     interface IActiveDirectoryMaeService
  2.     {
  3.         void AddAdUserToGroup(GroupPrincipal gp, UserPrincipal up);
  4.         void CreateNewAdGroup(string groupName);
  5.         void CreateNewAdUser(string userName, string userPassword, string eMail);
  6.         void DeleteAdUserFromGroup(GroupPrincipal gp, UserPrincipal up);
  7.         GroupPrincipal FindAdGroupByName(string userName);
  8.         UserPrincipal FindAdUserByName(string userName);
  9.         IEnumerable<GroupPrincipal> GetAdGroupsForUser(string userName);
  10.         IEnumerable<UserPrincipal> GetAdUsersForGroup(string groupName);
  11.         IEnumerable<GroupPrincipal> GetAllAdGroups();
  12.         IEnumerable<UserPrincipal> GetAllAdUsers();
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement