--

Canned AD dialog for C#

Anybody know of a comdiag equivalent for retrieval of AD user/group info in C#?
Permalink JoC 
April 17th, 2007 4:25pm
AD info in C# is a sore subject with me.  Apparently the IT department can set a group policy restricting your ability to query AD for group membership.  Makes it kindof hard to ship a product that needs that ability.
:-(


Take a look at the IsInRole() method.

http://msdn2.microsoft.com/en-us/library/system.security.principal.windowsprincipal.isinrole(vs.71).aspx
Permalink xampl 
April 17th, 2007 4:35pm
"Apparently the IT department can set a group policy restricting your ability to query AD for group membership.  Makes it kindof hard to ship a product that needs that ability."

Blech. I'd be tempted to bring in my own machine to use as a domain controller for a test bed. What retards. How does that compromise security?

Thanks, I'll look at that. I was hoping there'd be an easy way to let a user build a list of logins using info from AD. I guess I may have to do my own dialog for it. I just like the search functions and such in the one you normally use for administrative stuff.
Permalink JoC 
April 17th, 2007 4:44pm

This topic is archived. No further replies will be accepted.

Other topics: April, 2007 Other topics: April, 2007 Recent topics Recent topics