[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
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....
>
>
>
>