Click or drag to resize

IDatabasePassword Property

Obsolete. Use SafeCredentials instead. Always returns blank now. OBSOLETE in Seven. Use SafeCredentials instead.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
string Password { get; }

Property Value

Type: String
String - the password of the logged-in user
Examples

Get the password of the current user

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
dim objso
dim objassoc
set objso =  CreateObject("superofficedb.database")
If not (objSO is nothing) Then
    objso.login  "<username>", "<password>"
    pw  = objso.password
    msgbox "the current users password is: "  & pw
else
    msgbox  "unable to connect to database"
end if
set objso = nothing

See Also