Skip to content

Instantly share code, notes, and snippets.

@tyoshikawa1106
Created March 8, 2016 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyoshikawa1106/c2c60405df8afbe1b52b to your computer and use it in GitHub Desktop.
Save tyoshikawa1106/c2c60405df8afbe1b52b to your computer and use it in GitHub Desktop.
Site.validatePasswordの実行サンプル
User loginUser = [SELECT Id,Username,FirstName,LastName FROM User WHERE Id =: UserInfo.getUserId() LIMIT 1];
Site.validatePassword(loginUser, this.newPassword, this.verifyNewPassword);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment