C# doing domain question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I'm new to C#, but I have years of experience on VB-classic.


I would like to verify during win application start-up whether the user is
equal as domain admin. i.e. does the user have domain admin rights Y/N

and secondly: a similar problem.

Is this user listed in AD security group "MySecGroupName" Y/N

any ideas how to proceed is highly appreciated.

Kjell Liljegren, Sweden
 
Kjell said:
Hi

I'm new to C#, but I have years of experience on VB-classic.


I would like to verify during win application start-up whether the user is
equal as domain admin. i.e. does the user have domain admin rights Y/N

and secondly: a similar problem.

Is this user listed in AD security group "MySecGroupName" Y/N

any ideas how to proceed is highly appreciated.

Google is your friend. I am sure you'll find examples out there.

http://www.google.com/search?hl=en&q=how+to+check+if+user+is+Domain+Administrator+C#.net&btnG=Search
 
Back
Top