function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SWATHI B VSWATHI B V 

I am following a crash course on lwc on "SFDCFacts Academy" by Manish Chowdary. But I am struck at 1:13:14.I am getting error while running "sfdx force:user:permset:assign -n ToDoManager" where ToDoManager is the project name. Could anyone please help me?

Sai PraveenSai Praveen (Salesforce Developers) 
Hi Swathi,

Do you have permission set named "ToDoManager" in your org where you are executing this ?

Please find the syntax for the same .
 
sfdx force:user:permset:assign -n DreamHouse -u me@my.org
Here "DreamHouse" is permisson set name and "me@my.org" is the user whom it is assigning to.

Please find the help article (https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_user.htm) for the same.

 
Let me know if you face any issues.
If this solution helps, Please mark it as best answer.
Thanks,
SWATHI B VSWATHI B V
Hi Sai, yes I have the craeted permission set called ToDoManager. I am not understanding what to give in place of me@my.org. could you please elaborate?
 
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

You can place the user name here for which you want the permission set to assin to .

If this solution helps, Please mark it as best answer.
Thanks,
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Swathi,

Is the issue resolved?

Thanks,