user account can retrieve groups?

  • Thread starter Thread starter Hayato Iriumi
  • Start date Start date
H

Hayato Iriumi

I'm trying to come up with a function that returns boolean to check to see
if the combination of username and password can actually retrieve groups
from active directory in a smart way. The signature looks like this.

public static bool CanAccountGetADList(string Domain, string Account, string
Password)
Can anyone help please?
 
Could you just try to access the AD information and catch the error if they
are not authorized?
 
You're right about that and I thought of it, but I was wonder if there
was smarter way to do this.
 
Back
Top