how to know logon user name

Hi,

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

Thanks

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.

thanks very much