Loading
Feature Degradation | Agentforce Voice Read More
Communications Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Reset a User's Password Using the Developer Console (Managed Package)

          Reset a User's Password Using the Developer Console (Managed Package)

          If you provide a dummy email ID while adding an agent user, then you won't be able to validate that user using the link sent to the user's email ID. In such cases, you can reset a user's password by using the Developer Console.

          Managed Package Icon This feature is part of the Communications Cloud managed package.

          After resetting the user's password, you can log in as that user.

          1. On the Users page, filter the list of users to view the active users.
          2. Go to the user whose password you want to set. Make a note of the value in the Username column.
          3. In Settings, click Developer Console.
          4. In Debug, click Open Execute Anonymous Window.
          5. Enter the following Apex code, and replace the placeholder username and password with the username and password that you want to set.
            User usr = [SELECT Id FROM User WHERE username = 'username'];
            System.setPassword(usr.Id,'your_password');
          6. Click Execute.
           
          Loading
          Salesforce Help | Article