G
Guest
Hi All
I have a directory server hosting multiple OUs, and I found that all the
users I created under each OU will not appear under "Users" folder, which
looks fine to me until now. I am working on an ASP.NET application which
would allow a selected user from each OU to login and to update profiles of
users' of his/her own OU.
To authenticate the user I am going to use the following code
DirectoryEntry entry = new DirectoryEntry(path, username, password)
then I will just bind it to the NativeObject, right?
But my question is, how would the path be for the "admin" user of different
OUs? i.e. do I need to specify the CN, DC in the path
for example, the domain is "xyz.com", the OUs are "NA1", "NA2","EU1", "EU2",
and server name is "SRVNA", how would the path looks like for user
"Jonathan" under "NA1"?
Many Thanks
--
I have a directory server hosting multiple OUs, and I found that all the
users I created under each OU will not appear under "Users" folder, which
looks fine to me until now. I am working on an ASP.NET application which
would allow a selected user from each OU to login and to update profiles of
users' of his/her own OU.
To authenticate the user I am going to use the following code
DirectoryEntry entry = new DirectoryEntry(path, username, password)
then I will just bind it to the NativeObject, right?
But my question is, how would the path be for the "admin" user of different
OUs? i.e. do I need to specify the CN, DC in the path
for example, the domain is "xyz.com", the OUs are "NA1", "NA2","EU1", "EU2",
and server name is "SRVNA", how would the path looks like for user
"Jonathan" under "NA1"?
Many Thanks
--