Primitive
permission.findCurrentUserLicenseAtom
BETAShort name: findCurrentUserLicenseAtom
Version: 1.0.0
Finds the current user's license atom through the standard atom list/read path and returns a serialized atom or null.
Back to primitive libraryInputs
| Key | Type | Required | Description |
|---|---|---|---|
| organizationAtomId | objectId | false | Organization atom id used when scope is 'organization'. |
| scope | string | false | Lookup scope: 'any' (default) searches visible licenses; 'organization' narrows search to one organization atom. |
Outputs
| Key | Type | Required | Description |
|---|---|---|---|
| licenseAtom | object | false | Serialized license atom for the current user, or null when no visible matching license is found. |