3.1.4.1 Logging on to a Store
When the user opens the client application, the client establishes a Session Context with the server, either by using the EcDoConnectEx method, as is specified in [MS-OXCRPC] section 3.1.4.1, or by using the Connect request type<17>, as specified in [MS-OXCMAPIHTTP] section 2.2.4.1. Once the client has successfully connected to the server, the client logs on to the message store by sending a RopLogon request (section 2.2.1.1.1). When the client sends RopLogon, the client MUST specify a LogonID to be used in the ROP request buffer. For more details about logging on and the LogonID, see [MS-OXCROPS] section 3.1.4.2
After successfully logging on, the client SHOULD cache the REPLGUID. In some cases, the client will have to re-attempt the logon. For more details, see section 3.1.5.1. The client cannot attempt any additional ROPs until it successfully logs on to the message store.