public interface ConnectionService extends Service
DocumentService.| Modifier and Type | Method and Description |
|---|---|
ConnectionContext |
newConnectionContext(String connectionApiName,
ConnectionUser connectionUser)
|
ConnectionContext |
newLocalConnectionContext()
Initializes a local
ConnectionContext, which executes with the
authenticated user's instance ID and originating user ID. |
ConnectionContext newConnectionContext(String connectionApiName, ConnectionUser connectionUser)
connectionApiName - api name of a connectionconnectionUser - connection userConnectionContextConnectionContext newLocalConnectionContext()
ConnectionContext, which executes with the
authenticated user's instance ID and originating user ID.
This method is not supported for operations initiated by the System.
Use this method in cases where a full connection record is not required.ConnectionContextCopyright © Veeva Systems 2017–2021. All rights reserved.