Home/Support/Support Forum/how to know logon user name
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

how to know logon user name

0 votes
Hi,

Which function can get the user name log on from web page?

Thanks
asked Feb 27, 2014 in NET+OS by jiaxins New to the Community (3 points)

Please log in or register to answer this question.

1 Answer

0 votes
You are not providing much in the way of context. If you want to know the user name from within a "stub function" I recommend using API RpGetCurrentUserName. It is described in the document entitled Advanced Web Server Toolkit at or around page 156. This assumes that the user is "authenticated". Meaning that he/she has successfully logged in. If the page is unprotected, then there is no authenticated user and the call will return NULL.
answered Feb 27, 2014 by dakotas_dad Veteran of the Digi Community (694 points)
thanks very much
...