please dont rip this site Prev Next

TOKEN_STATISTICS info  Overview  Group

The TOKEN_STATISTICS structure contains information about an access token. An application can retrieve this information by calling the GetTokenInformation function.

typedef struct _TOKEN_STATISTICS { // tst 

    LUID  TokenId; 

    LUID  AuthenticationId; 

    LARGE_INTEGER ExpirationTime; 

    TOKEN_TYPE    TokenType; 

    SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; 

    DWORD DynamicCharged; 

    DWORD DynamicAvailable; 

    DWORD GroupCount; 

    DWORD PrivilegeCount; 

    LUID  ModifiedId; 

} TOKEN_STATISTICS; 

 

Members

TokenId
Specifies a locally unique identifier (LUID) that identifies this instance of the token object.
AuthenticationId
Specifies an LUID assigned to the session this token represents. There can be many tokens representing a single logon session.
ExpirationTime
Specifies the time at which this token expires. Expiration times for access tokens are not supported in the current version of Windows NT.
TokenType
Specifies a TOKEN_TYPE enumerated type indicating whether the token is a primary or impersonation token.
ImpersonationLevel
Specifies a SECURITY_IMPERSONATION_LEVEL enumerated type indicating the impersonation level of the token. This member is valid only if the TokenType is TokenImpersonation.
DynamicCharged
Specifies the amount, in bytes, of memory allocated for storing default protection and a primary group identifier.
DynamicAvailable
Specifies the portion of memory allocated for storing default protection and a primary group identifier not already in use. This value is returned as a count of free bytes.
GroupCount
Specifies the number of supplemental group security identifiers (SIDs) included in the token.
PrivilegeCount
Specifies the number of privileges included in the token.
ModifiedId
Specifies an LUID that changes each time the token is modified. An application can use this value as a test of whether a security context has changed since it was last used.

See Also

GetTokenInformation, LUID, SECURITY_IMPERSONATION_LEVEL, TOKEN_CONTROL, TOKEN_DEFAULT_DACL, TOKEN_GROUPS, TOKEN_INFORMATION_CLASS, TOKEN_OWNER, TOKEN_PRIMARY_GROUP, TOKEN_PRIVILEGES, TOKEN_SOURCE, TOKEN_TYPE, TOKEN_USER


file: /Techref/os/win/api/win32/struc/src/str21_21.htm, 3KB, , updated: 2000/4/7 11:20, local time: 2024/11/5 02:31,
TOP NEW HELP FIND: 
18.118.200.161:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/techref/os/win/api/win32/struc/src/str21_21.htm"> TOKEN_STATISTICS</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?