+ Start a Discussion
SivarajanSivarajan 

Access to Delegated Administration

Hello All, How can we retrieve the delegated administration information in Salesforce. Actually in my case, the Delegated admins should not be allowed to set a particular value. I like to do it in validation rule. If it is not possible in validation rule, then I'm okay with trigger. Can anybody have any ideas? Thanks for your assistance in advance. Regards Siva
skodisanaskodisana

Hi,

 

Create a custom checkbox field on the User object called 'Is Deligated Approver'.

Update this flag to True for all the Deligated Approver.

Use this field in validation Rules like as below:

$User.Is_Deligated_Approver__c

 

 

Thanks,

Kodisana

SivarajanSivarajan
No, if the user is delegated administrator then they should not be allowed to change a particular value in a picklist.
skodisanaskodisana

Write the validation as mentioned below:

 

AND($User.Is_Deligated_Adminstrator__c =true, ISPICKVAL(Custom_Picklist__c,'Value'))

 

Thanks,

Kodisana