IdentityService.requireWellKnownPartyFromAnonymous - corda

corda / net.corda.core.node.services / IdentityService / requireWellKnownPartyFromAnonymous

# requireWellKnownPartyFromAnonymous

`open fun requireWellKnownPartyFromAnonymous(party: AbstractParty): Party`

Resolve the well known identity of a party. Throws an exception if the party cannot be identified. If the party passed in is already a well known identity (i.e. a Party) this returns it as-is.

### Exceptions

`IllegalArgumentException` -

Return
the well known identity.