|
-
May 13th, 2008, 07:11 AM
#1
Thread Starter
Fanatic Member
[2005] Using DirectoryInfo class to get the members of domain group succeeds randomly
Hi guys,
in the title it shgould be : DirectoryEntry not DirectoryInfo
My colleague use DirectoryEntry class to get the list of users that belong to domain group.
Often, the code works on the local developement machine with no problem.
But, when we deploy the web site on the web server. Sometimes the code works and sometimes doe not work. If we inspect the members when the code fails, the properties, like : givenName, firstName, samuseraccount return nothing.
Are you aware what might cause the directory info members to return nothing after it works for a while, or the opposit, meaning, it doesn t work first, and all of a sudden, it starts working.
We tried both, using network serrvice account and a custom account.
This is gonna drive us crazy
Last edited by tutus; May 13th, 2008 at 02:08 PM.
Thanks a lot for your help.
-
May 13th, 2008, 02:06 PM
#2
Thread Starter
Fanatic Member
Re: [2005] Using DirectoryInfo class to get the members of domain group succeeds rand
Sorry Guys, I meant DirectoryEntry and not DirectoryInfo.
Please assist
Thanks a lot for your help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|