PDA

View Full Version : Re: Retrieving SIDs when logged on with cached credentials


Kedar Dubhashi [MSFT]
April 14th 03, 06:05 PM
GetTokenInformation(TokenInformationClass=TokenGro ups) will give you the
list of groups the user belongs to.


"Benny Tops" > wrote in message
...
> With the tool whoami.exe (Support Tools) you can see all the SIDs of the
> Win2k (Win2k3) domain groups a user belongs to.
> I would like to import these SIDs in an array in a piece of software I'm
> developing. Does anybody know how I can access this data using WMI, ADSI,
an
> API, ... ?
>
> Regards,
>
> Benny
>
>

Google