Skip to content

Latest commit

 

History

History
95 lines (70 loc) · 3.04 KB

nf-authz-authzaddsidstocontext.md

File metadata and controls

95 lines (70 loc) · 3.04 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date 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 req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:authz.AuthzAddSidsToContext
AuthzAddSidsToContext function (authz.h)
Creates a copy of an existing context and appends a given set of security identifiers (SIDs) and restricted SIDs.
AuthzAddSidsToContext
AuthzAddSidsToContext function [Security]
_win32_authzaddsidstocontext
authz/AuthzAddSidsToContext
security.authzaddsidstocontext
security\authzaddsidstocontext.htm
security
4744013b-7f2e-4ebb-8944-10ffcc6006d0
12/05/2018
AuthzAddSidsToContext, AuthzAddSidsToContext function [Security], _win32_authzaddsidstocontext, authz/AuthzAddSidsToContext, security.authzaddsidstocontext
authz.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Authz.lib
Authz.dll
Windows
Windows Server 2003 Administration Tools Pack on Windows XP
19H1
AuthzAddSidsToContext
authz/AuthzAddSidsToContext
c++
APIRef
kbSyntax
DllExport
Authz.dll
AuthzAddSidsToContext

AuthzAddSidsToContext function

-description

The AuthzAddSidsToContext function creates a copy of an existing context and appends a given set of security identifiers (SIDs) and restricted SIDs.

-parameters

-param hAuthzClientContext [in]

An AUTHZ_CLIENT_CONTEXT_HANDLE structure to be copied as the basis for NewClientContext.

-param Sids [in]

A pointer to a SID_AND_ATTRIBUTES structure containing the SIDs and attributes to be added to the unrestricted part of the client context.

-param SidCount [in]

The number of SIDs to be added.

-param RestrictedSids [in]

A pointer to a SID_AND_ATTRIBUTES structure containing the SIDs and attributes to be added to the restricted part of the client context.

-param RestrictedSidCount [in]

Number of restricted SIDs to be added.

-param phNewAuthzClientContext [out]

A pointer to the created AUTHZ_CLIENT_CONTEXT_HANDLE structure containing input values for expiration time, identifier, flags, additional SIDs and restricted SIDs.

-returns

If the function succeeds, it returns TRUE.

If the function fails, it returns FALSE. To get extended error information, call GetLastError.

-see-also

Basic Access Control Functions

SID_AND_ATTRIBUTES