msdn link

 NET_API_STATUS NetrLogonUasLogoff(
   [in, unique, string] LOGONSRV_HANDLE ServerName,
   [in, string] wchar_t* UserName,
   [in, string] wchar_t* Workstation,
   [out] PNETLOGON_LOGOFF_UAS_INFO LogoffInformation
 );