471,118 Members | 996 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,118 software developers and data experts.

Active Directory User and Domain name

Hi,

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 1495

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.