Це відео не доступне.
Перепрошуємо.

Salesforce Admin interview question || salesforce developer interview question of the day

Поділитися
Вставка
  • Опубліковано 3 лип 2023
  • Checkout my Interview preparation course : salesforceandi...

КОМЕНТАРІ • 25

  • @ShantanuGodeSFDC
    @ShantanuGodeSFDC Рік тому +23

    1. In order to delete user B should be above the user A in role hirarchy
    2. User B will require modify all access in order to delete.
    3. An owner can only delete the record even if the record is shared with other users and other users are having edit access, if they don't satisfy the above 2 points.

  • @yogi6584
    @yogi6584 Рік тому +1

    Like Role hierarchy, There may be more reasons why User B couldn't delete the opportunity, one of the reasons can be Opportunity Splits enabled and more than one user already part of it. To delete that opportunity..we need to remove other users from the split

  • @krishnaarjuna3102
    @krishnaarjuna3102 Рік тому +10

    From sharing User B will get the Read and write access, With this permission he is not able to delete the record, inorder to delete the record, he should have modify all permission in his profile.

    • @Mtripathi347
      @Mtripathi347  Рік тому +8

      yes he either need modify all or he need to be higher in role hierarchy than the current record owner.

  • @muchmore4969
    @muchmore4969 Рік тому

    I think due that person is higher in the role hierarchy and grant access using hierarchy is unchecked or custom validation rule is firing on that role..

  • @RohitYadav-bq9xc
    @RohitYadav-bq9xc Рік тому

    B. Need modify all or above in roll hierarchy

  • @tanmayeesahoo8444
    @tanmayeesahoo8444 Рік тому

    User B would need modify all access in order to be able to delete opportunity record that is owned by User A

  • @rebajitchannel6065
    @rebajitchannel6065 Рік тому

    managed sharing.
    modify at profile level/permission set

  • @Misbah-12
    @Misbah-12 Рік тому

    User B needs to be in higher role hierarchy in order to have the access to delete the Opportunity record.

  • @Hindi_motivational_creator_EH

    Because of validation rule

  • @CorporateGirlUnfilteredGyaan
    @CorporateGirlUnfilteredGyaan Рік тому +1

    I think the user B is restricted via validations rule (to delete)

    • @Mtripathi347
      @Mtripathi347  Рік тому

      No Restriction rule or validation rule here.

  • @rebajitchannel6065
    @rebajitchannel6065 9 місяців тому

    User b has all permission except modify all.
    Answer is hidden inside the question.give modify all permission to user B

  • @vishnupriya8441
    @vishnupriya8441 Рік тому +2

    I think both the users are in different role.if it is wrong may I know the answer

  • @RohitSharma-mj2iq
    @RohitSharma-mj2iq Рік тому

    I think user b is not able to delete that opportunity due to Owd of opportunity have private or public read only

  • @rebajitchannel6065
    @rebajitchannel6065 Рік тому

    sharing rule does not provide delete accesses

  • @siddhantraj5323
    @siddhantraj5323 10 місяців тому

    you said except modify all,

  • @prasadperabathula4382
    @prasadperabathula4382 Рік тому

    may be user dont have a delete permisiion in his profile

  • @sumaphani3555
    @sumaphani3555 Рік тому

    from the profile level,,user B may have all permissions but view all , modify all are at high level than profileand sharing rules,,that's why User B can have access to view,update but cannot delete the record,,, I think modify all permission will provide access to delete the record,,,, correct me if I am wrong

    • @Mtripathi347
      @Mtripathi347  Рік тому +1

      yes Modify all on this object will provide delete permission , we can also use role hierarchy as it is a recommended way.

    • @user-882hhgys
      @user-882hhgys 9 місяців тому

      One reason could also apex Class With sharing mode

  • @ankkitsingh6107
    @ankkitsingh6107 Рік тому

    User have not Modify all permission

  • @Nova-jc4jn
    @Nova-jc4jn Рік тому

    Multiple reasons
    1.user b may not have delete permission in his profile or permission set

  • @mehersurya
    @mehersurya Рік тому

    Due to user not having modify all permissionss