Expand Minimize
This topic has not yet been rated - Rate this topic

PstMapCertificate function

Retrieves a structure that specifies information that can be used to create a user token associated with the specified certificate.

Syntax


NTSTATUS WINAPI PstMapCertificate(
  _In_   PCCERT_CONTEXT pCert,
  _Out_  LSA_TOKEN_INFORMATION_TYPE *pTokenInformationType,
  _Out_  PVOID *ppTokenInformation
);

Parameters

pCert [in]

A constant pointer to a CERT_CONTEXT structure that specifies the certificate for which to obtain token information.

pTokenInformationType [out]

A pointer to a value of the LSA_TOKEN_INFORMATION_TYPE enumeration that indicates the type of structure pointed to by the ppTokenInformation parameter.

ppTokenInformation [out]

The address of a pointer to a structure that specifies information that can be used to create a user token.

Return value

If the function succeeds, return STATUS_SUCCESS.

If the function fails, return an NTSTATUS code that indicates the reason it failed.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Certpoleng.h

Library

Certpoleng.lib

DLL

Certpoleng.dll

 

 

Send comments about this topic to Microsoft

Build date: 1/2/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.