asAccountId

Casts this TargetId as a AccountId and retrieves its kotlin.String value. Throws an exception if the TargetId is not a AccountId.