wodImapServer ActiveX Component - Password Property
      
 

Description

Holds password used for logon of connected user.


Property type

A String value.  


Syntax

object.Password [= value]



The Password Property syntax has these parts:

Part Description
object An expression evaluating to an object of type ImapUser.
value A String value.

Remarks
IMAP protocol specification defines that each user needs to specify his username and password combination in order to successfully access his email. Once user issues 'LOGIN' command with username and password information, his password is stored in this property. You should check this value during Connected event (together with Username property) to decide if you will allow the user to access (his) mailboxes or not.

After you check those properties, you are free to change their values to something else. For instance, if there is more than one person checking same email, you can provide each of them with his unique username/password combination, and after successful logon just change username to 'staff' so you can reference it later easier.