0
0

More than 1 year has passed since last update.

deactivate an user でのエラー

Last updated at Posted at 2023-02-03

Error: Invalid Data.Review all error messages below to correct your data. You can't access this field .

The error message you are encountering suggests that there is a field level security setting that is preventing you from modifying the fields you're trying to change, even though you have the System Administrator profile.

Here are a few things you can check to resolve the issue:

  • Check the user's profile and see if the field level security settings for the fields you're trying to modify are set to "Read Only". If they are, change them to "Editable".
  • Check if there are any validation rules or triggers on the User object that are preventing you from making the changes. If there are, either modify or temporarily disable them. Ensure that the Organization-Wide Default settings for the User object are set to "Grant access" for your profile.
  • Check if there are any field-level security settings at the organization level that might be preventing you from making the changes. If there are, modify them to allow you to make the changes.

By following these steps, you should be able to resolve the issue and modify the fields you need to

メセージは、システム管理者プロファイルを持っていても、変更しようとしているフィールドを変更できないフィールド レベルのセキュリティ設定があることを示唆しています。

問題を解決するために確認できることをいくつか示します。

  • ユーザーのプロファイルを確認し、変更しようとしているフィールドのフィールド レベルのセキュリティ設定が「読み取り専用」に設定されているかどうかを確認します。ある場合は、「編集可能」に変更します。

  • ユーザーオブジェクトに、変更を妨げている検証ルールまたはトリガーがあるかどうかを確認します。ある場合は、それらを変更するか、一時的に無効にします。

  • ユーザー オブジェクトの組織全体の既定の設定が、プロファイルの [アクセスを許可する] に設定されていることを確認します。組織レベルでフィールド レベルのセキュリティ設定が変更を妨げている可能性があるかどうかを確認します。存在する場合は、それらを変更して、変更できるようにします。

これらの手順に従うことで、問題を解決し、必要なフィールドを変更できるはずです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0