3

Does anyone knows what is the expiration time for windows tokens created by LogonUser windows API method?

I was about to test it myself by polling whether the token changed each 10 minutes, but maybe it would be easier to ask what is the expiration time and where I can find the documentation that describes this.

What would be the default expiration time for the impersonation tokens? Can that be configured somewhere in the Active Directory?

Thanks, AD

A.D.
  • 425
  • 3
  • 15

1 Answers1

1

The expiration time of a standard logon token is infinite (0) because it is currently not supported. See here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa379632%28v=vs.85%29.aspx

ExpirationTime

Specifies the time at which this token expires. Expiration times for access tokens are not currently supported.

ChristianWimmer
  • 1,039
  • 8
  • 16