pisceswzh
Well-known member
- Joined
- Mar 19, 2007
- Messages
- 96
- Programming Experience
- 1-3
Hi,
I am working on a project to create an AD user using VB.NET.
For the time being, I have been able to create it using
But I found it is not so easy to assign value to its property
Now I only know how to assign its First Name using
Since I saw it somewhere that this entry have the property of "givenname".
I am just wondering how can I list all the available properties?
Thanks!
I am working on a project to create an AD user using VB.NET.
For the time being, I have been able to create it using
VB.NET:
Dim newuser As DirectoryEntry = de.Children.Add("CN=Tommy Wang", "user")
But I found it is not so easy to assign value to its property
Now I only know how to assign its First Name using
VB.NET:
newuser.Properties("givenname").Add("Tommy")
Since I saw it somewhere that this entry have the property of "givenname".
I am just wondering how can I list all the available properties?
Thanks!