@salesforce/plugin-user
Commands to interact with Users and Permission Sets
This package has a good security score with no known vulnerabilities.
Community Reviews
Solid Salesforce user management CLI with good security defaults
The error handling is generally good - authentication failures and permission issues surface clearly without leaking sensitive session data. Input validation catches malformed usernames and invalid permission set assignments early. Commands like `org:create:user` and `org:assign:permset` follow secure-by-default patterns, requiring explicit confirmation for destructive operations.
Dependency hygiene is acceptable given it's part of the @salesforce ecosystem, though you inherit the full oclif framework stack. The plugin respects standard Salesforce API security boundaries and doesn't attempt to bypass platform controls. TLS is handled at the API client level with modern defaults.
Best for: Teams needing secure, CLI-based Salesforce user and permission management within CI/CD pipelines or administrative workflows.
Avoid if: You need fine-grained access control beyond Salesforce's native permission model or want a minimal dependency footprint.
Functional CLI wrapper with limited production observability and control
From an operations perspective, the plugin lacks crucial observability. There's minimal logging control—you get what SFDX gives you, with no hooks for custom instrumentation or detailed error tracking. Timeout behavior is inherited from the underlying JSForce connection with little ability to tune per-operation. Retry logic is basic and not configurable for flaky network conditions or API rate limits.
Resource management is acceptable but opaque. Connection pooling happens at the SFDX layer, so you can't optimize for bulk operations. Performance is adequate for typical dev tasks but not tuned for high-volume automation. The JSON output format helps with parsing, but error messages can be vague when dealing with Salesforce permission issues or validation rules.
Best for: Development workflows and CI/CD scripts that need basic user and permission set management in Salesforce orgs.
Avoid if: You need high-volume user provisioning automation with detailed observability, custom retry behavior, or fine-grained resource control.
Solid CLI plugin for Salesforce user management with good SFDX integration
The learning curve is minimal if you're already familiar with Salesforce CLI patterns. Documentation follows the standard SFDX command structure with `--help` flags that provide clear examples. Error messages are generally actionable, pointing to missing required fields or authentication issues. The plugin handles scratch org user creation particularly well, which is crucial for automated testing workflows.
Debugging can occasionally be tricky when permission set assignments fail silently due to org limits or dependencies. The error messages could be more explicit about permission conflicts. However, the `--json` flag consistently provides enough detail to troubleshoot issues, and GitHub issues get responses from maintainers within days.
Best for: Development teams automating Salesforce user provisioning and permission management in CI/CD pipelines or scratch org workflows.
Avoid if: You need a GUI-based user management tool or don't use the Salesforce CLI ecosystem.
Sign in to write a review
Sign In