Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.sdk
System.DirectoryServices Groups
Robert Chartier
7/10/2002 7:41:00 PM
(sorry for cross posting this aspfriends + here)
I have a System.DirectoryServices.DirectoryEntry , a "User".
I need to know how to get the Groups off of that user. Ive tried many
permutations of:
this.Groups=user.Invoke("Get", new object[] {"Groups"});
with no luck. Anyone know how to pull the Groups off? Or how to get a list
of all the Groups a user belongs to...?
thanks.
Robert Chartier
VP, Technology
Santra Technology
604-881-7194
http://www....
1 Answer
Willy Denoyette [MVP]
7/16/2002 11:45:00 PM
0
Which provider (WinNT or LDAP) are you using and what kind of domain are running?
Willy.
"Robert Chartier" <rob-nospam@aspfree.com> wrote in message news:OlnCHjDKCHA.2660@tkmsftngp13...
> (sorry for cross posting this aspfriends + here)
>
>
> I have a System.DirectoryServices.DirectoryEntry , a "User".
>
> I need to know how to get the Groups off of that user. Ive tried many
> permutations of:
>
> this.Groups=user.Invoke("Get", new object[] {"Groups"});
>
> with no luck. Anyone know how to pull the Groups off? Or how to get a list
> of all the Groups a user belongs to...?
>
> thanks.
>
>
>
> Robert Chartier
> VP, Technology
> Santra Technology
> 604-881-7194
>
http://www....
>
>
>
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
System.DirectoryServices Groups
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password