Actor - corda

corda / net.corda.core.context / Actor

# Actor

`data class Actor`

Models an initiator in Corda, can be a user, a service, etc.

### Types

#### Id | Actor id. `data class Id`

### Constructors

#### <init> | Models an initiator in Corda, can be a user, a service, etc. `Actor(id: Id, serviceId: AuthServiceId, owningLegalIdentity: CordaX500Name)`

### Properties

#### id | `val id: Id`
#### owningLegalIdentity | `val owningLegalIdentity: CordaX500Name`
#### serviceId | `val serviceId: AuthServiceId`

### Companion Object Functions

#### service | `fun service(serviceClassName: String, owningLegalIdentity: CordaX500Name): Actor`