Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface IActiveDirectoryMaeService
- {
- void AddAdUserToGroup(GroupPrincipal gp, UserPrincipal up);
- void CreateNewAdGroup(string groupName);
- void CreateNewAdUser(string userName, string userPassword, string eMail);
- void DeleteAdUserFromGroup(GroupPrincipal gp, UserPrincipal up);
- GroupPrincipal FindAdGroupByName(string userName);
- UserPrincipal FindAdUserByName(string userName);
- IEnumerable<GroupPrincipal> GetAdGroupsForUser(string userName);
- IEnumerable<UserPrincipal> GetAdUsersForGroup(string groupName);
- IEnumerable<GroupPrincipal> GetAllAdGroups();
- IEnumerable<UserPrincipal> GetAllAdUsers();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement