RE: SID Values

From: Frances [MSFT] (v-franhe_at_microsoft.com)
Date: 03/09/05


Date: Wed, 09 Mar 2005 08:33:39 GMT

Hello,

Good to hear from you.

According to your message, I understand you want to find the SID value for
all the users in a domain.

There is no tool to achieve your goal. You have to write scripts to meet
your requirement. The standard steps are as follows:

1. Enumerate the users in the domain.
You can use the GetObject method to obtain the full member list. The
GetObject method uses the credentials for the currently logged on user. The
following code example demonstrates this.

GetObject("WinNT://<server>/<group>,group")

Refer to the following article for more information.

321538 All members of a group may not be returned when you enumerate
members of
http://support.microsoft.com/?id=321538

Note: this applies to win2k and win2k3 domains only.

2. Use "whoami /all" to view the SID of the user.

Whoami is a command line tool. You may have more information in the
following article.

Whoami
http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/p
roddocs/en-us/Default.asp?url=/resources/documentation/windowsserv/2003/stan
dard/proddocs/en-us/whoami.asp

Note: this applies to win2k and win2k3 domains only.

Since NT domain is no longer supported, I do not offer you any information
about it. Thank you for your understanding.

In addition, we do not offer script support in the newsgroup. I just give
you some general information.

Thank you for your understanding!

Best regards,

Frances He

Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

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



Relevant Pages

  • Re: Very unusual WR for Lenton
    ... The question is whether drafting and the amount of "assistance" ... has no viable referenced support. ... You're the one who's dumber than anyone thought by not understanding ... response in this inane thread. ...
    (rec.sport.swimming)
  • Re: ponder me this, ponder me that...
    ... Besides the obvious fact that kenny hates me more than cod liver ... Don't you people that rehash this over and over and over again get ... share experienceand give support ... members" feel the "vibes" all around that some other members, ...
    (alt.support.chronic-pain)
  • Re: FUCK THIS MOTHER FUCKING GROUP, GAWD DAMMIT
    ... I've always been guilty of not knowing all the players in this group. ... I'm a lost lamb in the name game. ... She's been and is being given lots of support: ... >> to be there for all our members. ...
    (alt.support.chronic-pain)
  • Re: Bitch Fest
    ... the Association (Scout Fellowship etc)? ... support Scouting but not neccesarily by part of the Movement. ... Not all supporters have to be associate members or members - but ... my criticism than anyone else on this newsgroup - bar none. ...
    (uk.rec.scouting)
  • Re: CCBN declares its incompetence
    ... if they make BN an overtly campaigning group, ... support non naturist protesting, ... loose as many members as join - if not more. ... of naturism in the UK beyond repair in my life time, ...
    (uk.rec.naturist)