Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
The LsarOpenPolicyWithCreds method, as specified below, opens a context handle to the RPC server using the credentials in the provided BindingHandle.<69>
-
NTSTATUS LsarOpenPolicyWithCreds( [in] handle_t BindingHandle, [in] PLSAPR_OBJECT_ATTRIBUTES ObjectAttributes, [in] ACCESS_MASK DesiredAccess, [in] ULONG InVersion, [in] [switch_is(InVersion)] LSAPR_REVISION_INFO* InRevisionInfo, [out] ULONG* OutVersion, [out] [switch_is(*OutVersion)] LSAPR_REVISION_INFO* OutRevisionInfo, [out] LSAPR_HANDLE* PolicyHandle );
BindingHandle: An RPC binding handle, as specified in [C706]. RPC binding handles are used by RPC internally and are not transmitted over the network.
-
This handle can be obtained by calling RPC runtime binding routines. For more information, see [MSDN-RPCDB].
ObjectAttributes: This parameter has no effect on message processing in any environment. All fields MUST be ignored except RootDirectory, which MUST be NULL.
DesiredAccess: An ACCESS_MASK value (section 2.2.1.1) that specifies the requested access rights that MUST be granted on the returned PolicyHandle, if the request is successful.
InVersion: Indicates which field of the InRevisionInfo union is used.
InRevisionInfo: Revision information. For details, see the definition of the LSAPR_REVISION_INFO_V1 structure (section 2.2.2.6), which is contained in the LSAPR_REVISION_INFO union (section 2.2.2.7).
OutVersion: Indicates which field of the OutRevisionInfo union is used.
OutRevisionInfo: Revision information. For details, see the definition of the LSAPR_REVISION_INFO_V1 structure (section 2.2.2.6), which is contained in the LSAPR_REVISION_INFO union (section 2.2.2.7).
PolicyHandle: An RPC context handle (section 2.2.2.1) that represents a reference to the abstract data model of a policy object, as specified in section 3.1.1.1.
The return values and server processing of this method is the same as LsarOpenPolicy3.