assignPermissionSetLicenses
assignPermissionSetLicenses(
licenseNames,aliasOrUsername?):Promise<void>
Defined in: packages/simply-cicd-core/src/sfOrg.ts:146
Assigns permission set licenses to an org’s own user: what sf org assign permset-license --name …
does. A license is matched by DeveloperName or MasterLabel; one that is already assigned is
a success (with a warning), as it is for the CLI.
Parameters
Section titled “Parameters”licenseNames
Section titled “licenseNames”string[]
Permission set license developer names or labels.
aliasOrUsername?
Section titled “aliasOrUsername?”string
The org. Omit to use the default target org.
Returns
Section titled “Returns”Promise<void>
Throws
Section titled “Throws”If any assignment failed; the others are still attempted.