Back to product page

Password property


Holds user's password (if provided).

Type

String

Syntax

  • Basic
object.Password [= value]
The Password(object,value) syntax has these parts:
objectAn expression evaluating to an object of type WebUser
valueA String value.

Remarks

Password contains information about password provided when user tried to authenticate with the server. You will most likely use this information in UserAuthenticate event - where you must decide if you will allow access for the user or not.

wodWebServer does not have internal mechanism to validate users' passwords, so you must do it instead. Please keep in mind that this property contains readable password only if AuthBasic authentication was used. If AuthNTLM authentication was used, this property contains hashed value of the password. To check if password stored in your external list (we do not go that deep to determine how you keep passwords!), you should test this value with TestNTLMResponse method.

Platforms

Windows