Re: How to pass login credencials to DirectoryEntry object
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Fri, 16 Feb 2007 10:30:12 +0100
"killbill" <indus.vision@xxxxxxxxx> wrote in message news:1171579015.211955.200240@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All,
I am working with Active Directory using DirectoryServices libraries.
When i create DirectoryEntry object, i pass username and password as
parameters. But i am trying to do it without passing username and
password. How i can use the credencials of the user currently logged
in user on windows to create DirectryEntry object.
Any suggestion ???
If you don't specify credentials, then, the current user token will be used to access the directory.
Willy.
.
- References:
- How to pass login credencials to DirectoryEntry object
- From: killbill
- How to pass login credencials to DirectoryEntry object
- Prev by Date: PInvoke question
- Next by Date: Re: how to draw columns ?
- Previous by thread: How to pass login credencials to DirectoryEntry object
- Next by thread: Singleton on server
- Index(es):
Relevant Pages
|