GetUserInfo (NotesRegistration - LotusScript®)

Gets information about a user from a Domino® Directory.

Defined in

NotesRegistration

Syntax

Call notesRegistration .GetUserInfo( username$ [, retmailServer$ [, retmailFile$ [, retmailDomain$ [, retmailSystem% [ , retprofile$ ]]]]])

Parameters

username$

String. The user name attached to the ID file.

retMailServer$

String; must be explicitly typed. Returns the name of the user's mail server.

retMailFile$

String; must be explicitly typed. Returns the name of the user's mail file.

retMailDomain$

String; must be explicitly typed. Returns the name of the user's mail domain.

retMailSystem%

Integer; must be explicitly typed. Returns a code for the user's mail system, as shown. These codes are 1 less than those in the Person document in the Domino® Directory.

Mail System

Code

Notes®

0

cc:Mail

1

Other Internet Mail

4

POP or IMAP

5

X400

3

Other

2

None

99

retProfile$

String; must be explicitly typed. Returns the name of the User Setup Profile document.

Usage

The parameters, except for the first, are return values. The return values must be explicitly typed.

This method acts on the Domino® Directory (names.nsf) for the server specified by RegistrationServer, or names.nsf in the local Domino® data directory if this property is not set.

Example