Skip to content

Latest commit

 

History

History
58 lines (29 loc) · 1.43 KB

PyIServerSecurity.md

File metadata and controls

58 lines (29 loc) · 1.43 KB

PyIServerSecurity

PyIServerSecurity Object

Interface used to access client security settings and perform impersonation

Comments

Can be created using pythoncom::CoGetCallContext

Methods

PyIServerSecurity.ImpersonateClient

ImpersonateClient() Initiates impersonation of client

PyIServerSecurity.IsImpersonating

bool = IsImpersonating() Determines if server is currently impersonating a client

PyIServerSecurity.QueryBlanket

dict = QueryBlanket(Capabilities) Retrieves security settings specified by the client

Parameters

  • Capabilities=0 : int

    Can be EOAC_MAKE_FULLSIC for SChannel provider

PyIServerSecurity.RevertToSelf

RevertToSelf() Ends impersonation of client