468,765 Members | 1,035 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,765 developers. It's quick & easy.

Active Directory User and Domain name


I am developing a small programme to add ACTIVE DIRECTORY users to another
server. everything works fine .. I get the users from AD using LDAP but while
adding users I need to get the user in the form of Domain\UserName. I get the
domain name of our server but I face another problem which is

our server name is "Preston" which I get it easily but user format in active
directory is in the form of "Preston0\UserName" I have tried all the possible
properties of Active Directory User but didnt able to get this Pre-window
Active Directory Domain structure.

Please help me out for this problem, I shall be very gratefull of you people
for any help.

Thanks in advance,
Jan 13 '06 #1
0 1397

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Andrew | last post: by
3 posts views Thread by Jan Wrage | last post: by
reply views Thread by Kooki | last post: by
2 posts views Thread by Jim in Arizona | last post: by
reply views Thread by Chung Leong | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.