Пример #1
0
 /// <summary>
 /// Retrieves a list of user accounts that are in the specified folder (organizational unit).
 /// </summary>
 public LdapUserCollection GetUsersInFolder(LdapFolderInfo folder, bool includeSubFolders = false)
 {
     return(GetUsersInFolder(folder.DistinguishedName, includeSubFolders));
 }
Пример #2
0
 /// <summary>
 /// Returns a list of all of the groups in the LDAP root entry.
 /// </summary>
 public LdapFolderCollection GetSubFolders(LdapFolderInfo parentFolder, bool includeSubFolders = false)
 {
     return(GetSubFolders(parentFolder.DistinguishedName, includeSubFolders));
 }
Пример #3
0
 public LdapFolderInfo(LdapFolderInfo entry) : base(entry)
 {
     OU = entry.OU;
 }