RE: SID Values
From: Frances [MSFT] (v-franhe_at_microsoft.com)
Date: 03/09/05
- Next message: nicktf_at_btinternet.com: "Re: Migrating Trusts"
- Previous message: Jim: "Follow-Up to: RRAS broken after migration from 2000 to 2003"
- In reply to: Panjwanis: "SID Values"
- Messages sorted by: [ date ] [ thread ]
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.
- Next message: nicktf_at_btinternet.com: "Re: Migrating Trusts"
- Previous message: Jim: "Follow-Up to: RRAS broken after migration from 2000 to 2003"
- In reply to: Panjwanis: "SID Values"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|