Write-Host "用户名为 $username 的用户的SID为: $userSid" 请确保您已经安装并导入了 Active Directory 模块(如果您使用的是 Windows Server 系统)。 获取当前用户所属的所有组的SID: $groupSids = (Get-ADUser -Identity $env:USERNAME).MemberOf | ForEach-Object { (Get-ADGroup -Identity $_).SID.V...
BUILTIN\Users 别名 S-1-5-32-545 必需的组, 启用于默认, 启用的组 NT AUTHORITY\INTERACTIVE 已知组 S-1-5-4 必需的组, 启用于默认, 启用的组 NT AUTHORITY\Authenticated Users 已知组 S-1-5-11 必需的组, 启用于默认, 启用的组 NT AUTHORITY\This Organization 已知组 S-1-5-15 必需的组, 启用...
Indicates a SID for an enterprise controller. SelfSid 16 Indicates a SID for self. AuthenticatedUserSid 17 Indicates a SID for an authenticated user. RestrictedCodeSid 18 Indicates a SID for restricted code. TerminalServerSid 19 Indicates a SID that matches a terminal server account. RemoteLogon...
SECURITY_AUTHENTICATED_USER_RID字符串值:S-1-5-11 通过身份验证的用户。 SECURITY_RESTRICTED_CODE_RID字符串值:S-1-5-12 受限代码。 SECURITY_TERMINAL_SERVER_RID字符串值:S-1-5-13 终端服务。 自动添加到登录到终端服务器的用户的安全令牌中。 SECURITY_LOCAL_SYSTEM_RID字符串值:S-1-5-18 操作系统使用...
WinAuthenticatedUserSid 指出符合任何已驗證使用者的 SID。 WinRestrictedCodeSid 表示受限制程式代碼的 SID。 WinTerminalServerSid 指出符合終端機伺服器帳戶的 SID。 WinRemoteLogonIdSid 指出符合遠端登錄的 SID。 WinLogonIdsSid 指出符合登入標識碼的 SID。 WinLocalSystemSid 指出符合本機系統的 SID。 WinLocalS...
SECURITY_AUTHENTICATED_USER_RID 字符串值:S-1-5-11通过身份验证的用户。 SECURITY_RESTRICTED_CODE_RID 字符串值:S-1-5-12受限代码。 SECURITY_TERMINAL_SERVER_RID 字符串值:S-1-5-13终端服务。 自动添加到登录到终端服务器的用户的安全令牌中。
Name: Authenticated Users Description: A group that includes all users whose identities were authenticated when they logged on. Membership is controlled by the operating system.SID: S-1-5-12 Name: Restricted Code Description: This SID is reserved for future use.SID: S-1-5-13 Name...
SECURITY_AUTHENTICATED_USER_RID字串值: S-1-5-11 已驗證的使用者。 SECURITY_RESTRICTED_CODE_RID字串值: S-1-5-12 受限制的程序代碼。 SECURITY_TERMINAL_SERVER_RID字串值: S-1-5-13 終端機服務。 自動新增至登入終端伺服器之用戶的安全性令牌。 SECURITY_LOCAL_SYSTEM_RID字串值: S-1-5-18 操作系統...
BUILTIN\Users 别名 S-1-5-32-545 必需的组, 启用于默认, 启用的组 NT AUTHORITY\INTERACTIVE 已知组 S-1-5-4 必需的组, 启用于默认, 启用的组 NT AUTHORITY\Authenticated Users 已知组 S-1-5-11 必需的组, 启用于默认, 启用的组 NT AUTHORITY\This Organization 已知组 S-1-5-15 必需的组, 启用...
Then the 23rd group member user cannot be authenticated and the following error is recored: Raw Cannot convert group group22 to sid, please contact your administrator to see if group group22 is valid. Is there a limit to the number of users/groups that can be set for the option 'require...