SocialluxSociallux
Toggle navigation menu
Docs navigationv

Primitive

permission.findCurrentUserLicenseAtom

BETA

Short 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 library

Inputs

KeyTypeRequiredDescription
organizationAtomIdobjectIdfalseOrganization atom id used when scope is 'organization'.
scopestringfalseLookup scope: 'any' (default) searches visible licenses; 'organization' narrows search to one organization atom.

Outputs

KeyTypeRequiredDescription
licenseAtomobjectfalseSerialized license atom for the current user, or null when no visible matching license is found.