PyIClientSecurity.SetBlanket

SetBlanket(Proxy, AuthnSvc, AuthzSvc, ServerPrincipalName, AuthnLevel, ImpLevel, AuthInfo, Capabilities)

Changes the authentication options used with an interface

Parameters

Proxy : PyIUnknown

The proxy interface for which to set security options

AuthnSvc : int

Authentication service identifier, pythoncom.RPC_C_AUTHN_* (but not RPC_C_AUTHN_LEVEL_*)

AuthzSvc : int

Authorization service identifier, pythoncom.RPC_C_AUTHZ_*

ServerPrincipalName : PyUnicode

SPN that identifies the server, can be None

AuthnLevel : int

Authentication level, pythoncom.RPC_C_AUTHN_LEVEL_*

ImpLevel : int

Impersonation level, pythoncom.RPC_C_IMP_LEVEL_*

AuthInfo : None

Not supported yet, use only None

Capabilities : int

Combination of pythoncom.EOAC_* flags. Must be a subset of the capabilities of the specified authentication service.