Process.Authenticate() will force an authentication dialog if you're not logged in and you've set up requirements for logging in. Those requirements need to be set up in your Process class, not your form in order for Process.Authenticate to work.
Dear Rick,
I would like to show an authentication form by loading a web page. About authentication, your help says "The form is self-contained and keeps the current URL alive", but unfortunately I am able to show an authentication form.
I tried your example on a webpage with an lblMessage, but nothing happens.
Please could you explain?
Thank you very much
<code="vfp">
*** Basic UserSecurity
cAuthenticationMode = "UserSecurity"
*** Class used for UserSecurity style authentication
cAuthenticationUserSecurityClass = "wwUserSecurity"
*** A user object for the authenticated user
oUserSecurity = null
*** The name of the user that was authenticated
cAuthenticatedUser = ""
*****************************************************************
* OnLoad (empy form)
****************************************
FUNCTION OnLoad()
IF !Process.Authenticate()
RETURN
ENDIF
this.lblMessage.Text = Process.cAuthenticatedUser + " " + ;
Process.oUserSecurity.oUser.Fullname
ENDFUNC
* Onload