Visual Basic: MAPI Controls

Visual Studio 6.0

SignOn Method

See Also    Example    Applies To

Logs the user into the account specified by the UserName and Password properties, and provides a session handle to the underlying message subsystem.



The object placeholder represents an object expression that evaluates to an object in the Applies To list.


The session handle is stored in the SessionID property. Depending on the value of the NewSession property, the session handle may refer to a newly created session or an existing session.