What groups you are in, is a question that has different answers in
different contexts ...

Ask your domain's DC get one answer, ask another domain get a 2nd answer
(which one is relevant often depends on the domain of the computer you
logged onto / authenticated to), ask your workstation (local SAM accounts)
get a 3rd answer, ask for your token may yield a 3rd answer ...

The below are AD based answers, I've a program internally that prints out
the current security context's token, dunno if anything like that is
available externally, but I assume there must be something like it maybe
(one would hope) whoami /groups is token based (suggested on other forks)  
...

Since I don't really know what you're going after, it is possible that any
of the suggestions are correct for your purpose, or that one or the other
is wrong, seems unlikely both are wrong ... just FYI ...

Cheers,
-BrettSh [msft]

This posting is provided "AS IS" with no warranties, and confers no
rights.

On Wed, 25 Oct 2006, Matt wrote:

> You can also use a vb script from the scripting center URL below and follow
> the path below the URL.
> http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx?mfr=true
> Script Center 
> Home<http://www.microsoft.com/technet/scriptcenter/default.mspx>>
> Script
> Repository<http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx>>
> Active
> Directory<http://www.microsoft.com/technet/scriptcenter/scripts/ad/default.mspx>>
> Groups<http://www.microsoft.com/technet/scriptcenter/scripts/ad/groups/default.mspx>
> 
> 
> tnx
> mm
> 
> 
> On 10/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> >
> > http://www.joeware.net/win/free/tools/memberof.htm
> > I don't believe there's any builtin tool that will provide this
> > information.
> > Thanks,
> > Andrew Fidel
> >
> >
> >  *Michael B Allen <[EMAIL PROTECTED]>*
> > Sent by: [EMAIL PROTECTED]
> >
> > 10/25/2006 12:46 PM  Please respond to
> > ActiveDir@mail.activedir.org
> >
> >   To
> > ActiveDir@mail.activedir.org  cc
> >
> >  Subject
> > [ActiveDir] List Groups I'm In?
> >
> >
> >
> >
> >
> >
> > Was is the easiest way for a user (say on a stock XP client) to list
> > what groups they're in?
> >
> > Specifically I'd like the user to be able to just type a command like
> > 'net user list groups' or some such and get a list of NT Account names
> > for tokenGroups.
> >
> > Or if there is a dialog somewhere that's good too.
> >
> > Ideas?
> >
> > Mike
> >
> > --
> > Michael B Allen
> > PHP Active Directory SSO
> > http://www.ioplex.com/
> > List info   : http://www.activedir.org/List.aspx
> > List FAQ    : http://www.activedir.org/ListFAQ.aspx
> > List archive: http://www.mail-archive.com/activedir@mail.activedir.org/
> >
> >
> 

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir@mail.activedir.org/

Reply via email to