UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:ntifs.RtlInitializeSid |
RtlInitializeSid function (ntifs.h) |
The RtlInitializeSid routine initializes a security identifier (SID) structure. |
ifsk\rtlinitializesid.htm |
ifsk |
04/16/2018 |
|
RtlInitializeSid, RtlInitializeSid routine [Installable File System Drivers], ifsk.rtlinitializesid, ntifs/RtlInitializeSid, rtlref_fbcc1ed7-4929-415f-9644-b8d9521a5c1a.xml |
ntifs.h |
Ntifs.h |
Universal |
Windows 2000 |
NtosKrnl.lib |
NtosKrnl.exe (kernel mode); Ntdll.dll (user mode) |
< DISPATCH_LEVEL |
Windows |
|
|
|
|
|
The RtlInitializeSid routine initializes a security identifier (SID) structure.
Pointer to a caller-allocated SID structure to be initialized.
Pointer to an SID_IDENTIFIER_AUTHORITY structure to set in the SID structure.
Number of subauthorities to set in the SID. Subauthority values must be set separately, as described in the following Remarks section.
RtlInitializeSid returns one of the following:
Return code | Description |
---|---|
|
The SID was successfully initialized. |
|
The specified SubAuthorityCount value is invalid. |
Although RtlInitializeSid sets the number of subauthorities for the SID, it does not set the subauthority values. This must be done separately by calling RtlSubAuthoritySid.
For more information about security and access control, see Windows security model for driver developers and the documentation on these topics in the Windows SDK.