Can I get the shortname and password using lotus script?

Hi, I have an application that requires a username and password, and the requirement is that the user should use their ShortName and their notes password.

Is there a way in Lotus Script that I can get the shortname of the user, and the user password.

Thanks,

Josephine

Subject: Can I get the shortname and password using lotus script?

The username is a property of the NotesSession class, but it will not list the shortname. Therefore, in order to get a hold of the shortname, You must find the persondocument in the public name&addressbook and extract the information from the field “ShortName”.

The password is located in the field “HTTPPassword” (in the same persondocument), but it is scrambled and can’t be read through normal ways. I don’t know any way to read the password information in cleartext.

Subject: Can I get the shortname and password using lotus script?

Read-write. The short name when creating user IDs.Note This property is new with Release 6.5.

Defined in

NotesRegistration

Data type

String

Syntax

To get: string$ = notesRegistration.ShortName

To set: notesRegistration.ShortName = string$

Usage

Optionally set this property before calling RegisterNewUser.

By default the short name is the first letter of the first name followed by the last name.

Language cross-reference

ShortName property in Java Registration class

Subject: Can I get the shortname and password using lotus script?

Hi…

You don’t make it abundantly clear whether you mean Notes password or HTTP password.

You have no way at all of getting the Notes password but there are ways to intercept the HTTP password.

Consider a tool like Directory Integrator from Tivoli and use the Domino Connector to move the shortname and intercept the password move from Domino to LDAP for example and authenticate against that rather than the Domino Directory.

Hope you find a solution. It just means some architectural changes.

Subject: RE: Can I get the shortname and password using lotus script?

Thanks for the replies. I meant the Notes password, but I will look into the http password.

I appreciate the responses.

Josie