GetDirectoryEntry
Returns the directory entry for the user from Active Directory.
Syntax
DirectoryEntry GetDirectoryEntry()
Return value
A directory entry for the service connection point that represents the user’s Windows profile.
Discussion
The DirectoryEntry
object represents the directory object for the user and its
associated attributes.
This method can only be used in .NET programs because
DirectoryEntry
is a .NET-specific class for directory objects. This method cannot
be used in COM-based programs.Exceptions
GetDirectoryEntry
throws an ApplicationException
if it cannot get the directory
object.