InvocationOrigin.Service - corda

corda / net.corda.core.context / InvocationOrigin / Service

# Service

`data class Service : InvocationOrigin`

Origin was a Corda Service.

### Constructors

#### <init> | Origin was a Corda Service. `Service(serviceClassName: String, owningLegalIdentity: CordaX500Name)`

### Properties

#### owningLegalIdentity | `val owningLegalIdentity: CordaX500Name`
#### serviceClassName | `val serviceClassName: String`

### Functions

#### principal | Returns the Principal for a given Actor. `fun principal(): Principal`