public DirectoryEntry GetComputerDirectoryEntry(string computerName, string[] propertiesToLoad) { EntryUtil eu = new EntryUtil(); return(eu.GetADDirectoryEntry(propertiesToLoad, EntryUtil.GetADComputerFilter(computerName))); }
public DirectoryEntry GetUserDirectoryEntry(string userName, string[] propertiesToLoad, DirectoryEntry searchRoot) { EntryUtil eu = new EntryUtil(); return eu.GetADDirectoryEntry(propertiesToLoad, EntryUtil.GetADUserFilter(userName), searchRoot); }
public DirectoryEntry GetUserDirectoryEntry(string userName, string[] propertiesToLoad, DirectoryEntry searchRoot) { EntryUtil eu = new EntryUtil(); return(eu.GetADDirectoryEntry(propertiesToLoad, EntryUtil.GetADUserFilter(userName), searchRoot)); }
public DirectoryEntry GetComputerDirectoryEntry(string computerName, string[] propertiesToLoad) { EntryUtil eu = new EntryUtil(); return eu.GetADDirectoryEntry(propertiesToLoad, EntryUtil.GetADComputerFilter(computerName)); }