P
Paul Hadfield
All,
Can anyone help with an example of how to use the System.DirectoryServices
name space?
I've found examples on Google in C# but I've had no success trying to use
them.
Basically, I have a VB.net 2003 app running in a 2003 active directory
environment. The app needs to query active directory to see if the user
which is running the VB.net app is a member of a given security group within
active directory.
For example, user 'Joe Bloggs' is running MyApp.exe (which is a VB.net app)
while logged onto a Windows XP PC in a 2003 active directory domain called
'Company.local'. MyApp.exe needs to check to see if the current locally
logged on user (Joe Bloggs) is a member of a security group called
'AccountManagers'.
I'm sure I need to use the System.DirectoryServices name space but I can't
figure out how to use the name space?
Many thanks in advance,
Paul.
Can anyone help with an example of how to use the System.DirectoryServices
name space?
I've found examples on Google in C# but I've had no success trying to use
them.
Basically, I have a VB.net 2003 app running in a 2003 active directory
environment. The app needs to query active directory to see if the user
which is running the VB.net app is a member of a given security group within
active directory.
For example, user 'Joe Bloggs' is running MyApp.exe (which is a VB.net app)
while logged onto a Windows XP PC in a 2003 active directory domain called
'Company.local'. MyApp.exe needs to check to see if the current locally
logged on user (Joe Bloggs) is a member of a security group called
'AccountManagers'.
I'm sure I need to use the System.DirectoryServices name space but I can't
figure out how to use the name space?
Many thanks in advance,
Paul.