(PyCredHandle,PyDateTime) = AcquireCredentialsHandle(Principal, Package
, CredentialUse
, LogonID
, AuthData
)
Creates a handle to credentials for use with SSPI
Parameters
Principal : str/unicode
Use None for current security contextPackage : str/unicode
Name of security package that credentials will be used withCredentialUse : int
Intended use of requested credentials, SECPKG_CRED_INBOUND, SECPKG_CRED_OUTBOUND, or SECPKG_CRED_BOTHLogonID : long
LUID representing a logon session, can be NoneAuthData : tuple
Sequence of 3 strings: (User, Domain, Password) - use none for existing credentialsReturn Value
Returns credential handle and credential's expiration time