DelegateSecurityContext function (sspi.h)
Delegates the security context to the specified server.
Syntax
SECURITY_STATUS SEC_ENTRY DelegateSecurityContext(
PCtxtHandle phContext,
PSECURITY_STRING pTarget,
SecDelegationType DelegationType,
PTimeStamp pExpiry,
PSecBuffer pPackageParameters,
PSecBufferDesc pOutput
);
Parameters
phContext
The security context to delegate.
pTarget
The target path.
DelegationType
The type of delegation.
pExpiry
The optional time limit, after which the context expires.
pPackageParameters
The optional package-specific parameters.
pOutput
The output token for ApplyControlToken.
Return value
Returns a value indicating the result of the operation.
Requirements
Requirement | Value |
---|---|
Header | sspi.h |