public bool isMemberOfGroup(string activeDirectoryGroupName) { using (var theGroup = new ActiveDirectory.ADGroup(activeDirectoryGroupName)) { return(_isMemberOfGroupInternal(theGroup)); } }
public ADGroup CreateADGroup(ActiveDirectory.ADGroup ADGroup) { return(LoadGroup(AddGroup(ADGroup.Name, ADGroup.DisplayName, ADGroup.DistinguishedName, ADGroup.Description))); }