Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Adds a security identifier (SID) to the specified boundary descriptor.
BOOL AddSIDToBoundaryDescriptor(
[in, out] HANDLE *BoundaryDescriptor,
[in] PSID RequiredSid
);
[in, out] BoundaryDescriptor
A handle to the boundary descriptor. The CreateBoundaryDescriptor function returns this handle.
[in] RequiredSid
A pointer to a SID structure.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
The AddSIDToBoundaryDescriptor function must be called once for each SID to be added to the boundary descriptor.
To compile an application that uses this function, define _WIN32_WINNT as 0x0600 or later.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | namespaceapi.h (include Windows.h on Windows 7, Windows Server 2008 Windows Server 2008 R2) |
Library | Kernel32.lib |
DLL | Kernel32.dll |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today