SID 구조체(winnt.h)

SID(보안 식별자) 구조는 사용자 또는 그룹을 고유하게 식별하는 데 사용되는 가변 길이 구조입니다.

애플리케이션은 SID를 직접 수정해서는 안 됩니다. 보안 식별자를 만들고 조작하려면 참조 섹션에 나열된 함수를 사용합니다.

구문

typedef struct _SID {
  BYTE                     Revision;
  BYTE                     SubAuthorityCount;
  SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
#if ...
  DWORD                    *SubAuthority[];
#else
  DWORD                    SubAuthority[ANYSIZE_ARRAY];
#endif
} SID, *PISID;

멤버

Revision

SubAuthorityCount

IdentifierAuthority

SubAuthority[*]

SubAuthority[ANYSIZE_ARRAY]

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows XP [데스크톱 앱만 해당]
지원되는 최소 서버 Windows Server 2003 [데스크톱 앱만 해당]
머리글 winnt.h(Windows.h 포함)

추가 정보

AllocateAndInitializeSid

ConvertSidToStringSid

ConvertStringSidToSid

CopySid

EqualSid

FreeSid

GetLengthSid

GetSidIdentifierAuthority

GetSidLengthRequired

GetSidSubAuthority

GetSidSubAuthorityCount

InitializeSid

IsValidSid

LookupAccountName

LookupAccountSid

SID 구성 요소