Share via


CAccessToken::GetTerminalServicesSessionId

Call this method to get the Terminal Services Session ID associated with the CAccessToken object.

bool GetTerminalServicesSessionId( 
   DWORD* pdwSessionId 
) const throw(...);

Parameters

  • pdwSessionId
    The Terminal Services Session ID.

Return Value

Returns true on success, false on failure.

Requirements

Header: atlsecurity.h

See Also

Reference

CAccessToken Class