Developer Console을 사용하여 새로 만든 사용자에게 암호 재설정을 적용할 경우 시스템 클래스의 setPassword 메서드를 사용하면 "암호 변경" 페이지로 리디렉션될 수 있습니다. 텍스트 상자를 클릭하면 사용자가 보안 질문을 설정하지 않고 조직에 로그인할 수 있습니다.
참고: setPassword()를 사용하여 사용자의 암호를 구성했으며 아직 보안 질문을 설정하지 않은 경우 로그인할 때 암호 변경 페이지로 리디렉션됩니다.
Salesforce에서 WAD(Working as Designed)입니다. Enter 키를 누르면 실제로 '취소' 버튼이 누른 것과 같습니다. 페이지의 암호 요구 사항이 충족될 때까지 "저장" 버튼이 활성화되지 않습니다. 사용자의 암호가 변경되지 않았습니다.
로그아웃한 후 다시 로그인하면 암호 변경 페이지가 표시됩니다. 이는 사용자가 해당 시간에 암호 또는 보안 질문을 변경할 필요가 없도록 의도에 따른 설계입니다.
재현 단계:
1. 조직에 로그인합니다.
2. 사용자 관리 | 사용자 | "새 사용자"를 검색합니다.
3. 사용자를 만들고 아래 확인란,
즉 새 암호를 생성하고 사용자에게 바로 알리기를 선택 취소합니다.
4. Save(저장)를 클릭합니다.
5. Developer Console을 엽니다.
6. 익명 실행 창 > Write : system.setPassword('005xx0000000XXX', 'passwordText');를 엽니다. 예: System.setPassword(userid, password);
7. 실행을 클릭합니다.
8. 조직에서 로그아웃합니다.
9. login.salesforce.com URL을 사용하여 조직에 로그인합니다.
참고: 도메인 이름을 사용 중일 경우 login.salesforce.com 대신 도메인 이름을 찾습니다.
10. 사용자 이름 및 암호를 입력합니다. 그러면 암호 변경 화면으로 리디렉션됩니다. 텍스트 상자 및 Enter 키를 차례로 클릭하면 로그인됩니다.
참고: Developer Console을 통한 암호 재설정은 사용자 프로필의 암호 정책에 설정된 암호 복잡성에 따라 진행됩니다.
Developer Console에 대한 세부 사항은 아래의 도움말 문서를 참조하십시오.
Developer Console 열기
000387826

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.