Expand Minimize
1 out of 1 rated this helpful - Rate this topic

AddSIDToBoundaryDescriptor function

Adds a security identifier (SID) to the specified boundary descriptor.

Syntax


BOOL WINAPI AddSIDToBoundaryDescriptor(
  _Inout_  HANDLE *BoundaryDescriptor,
  _In_     PSID RequiredSid
);

Parameters

BoundaryDescriptor [in, out]

A handle to the boundary descriptor. The CreateBoundaryDescriptor function returns this handle.

RequiredSid [in]

A pointer to a SID structure.

Return value

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.

Remarks

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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WinBase.h on Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2 (include Windows.h);
Namespaceapi.h on Windows 8 and Windows Server 2012

Library

Kernel32.lib

DLL

Kernel32.dll

See also

CreateBoundaryDescriptor
Object Namespaces

 

 

Send comments about this topic to Microsoft

Build date: 12/18/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.