Logon Method

Logon Method

See Also         Example         Applies To

Logs the user on to MAPI, obtaining a MAPI session.

Syntax

objNameSpace.Logon([Profile,] [Password,] ]ShowDialog,] [NewSession])

objNameSpace    An expression that returns a NameSpace object.

Profile   Optional String. The profile name to use for the session.

Password   Optional String. The password (if any) associated with the profile.

ShowDialog   Optional Boolean. True to display the MAPI logon dialog.

NewSession   Optional Boolean. True to create a new session (doesn't use an existing session). Multiple sessions cannot be created in Outlook.