Question Get Username Session Windows

joey.jeremiah

ProgressTalk Moderator
Staff member
you might want to try the windows library in the progress standard libraries project at the oehive.org

Code:
{slib/slibwin.i}

message win_getUserName().

/* this would work on both window and unix/linux *
{slib/slibos.i}

message os_getUserName().
*/
 

kamel

New Member
Hi i found the file
but i use the dotnet interface with account georgia.
the function give me the name of server and georgia.
i wanna get the session user name of windows ?
 

joey.jeremiah

ProgressTalk Moderator
Staff member
i believe, i misunderstood. do you want to know the application user? or the operation system user on the client?

i believe, it's the first one, in which case you will need the application api (maybe a global variable) to get the user, sorry.

btw i'm not very familiar with the "dotnet" interface but isn't it a character session with a screen scraper that turns it into crude html? blah.
 

kamel

New Member
Hi,
i use the dotnet interface it is an interface used the chr but running in server.
when i use the function always give me the name of server and user of server.
 
Top