function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Salesforce seekarSalesforce seekar 

Validation rule for Delegated system Admin and system Admin s

hi Team , 

i have a profile  named  " Knl_Profile  "  whih has 50 user , and that profile is added Delegated Group ie "Delegated_Knl_profile "  .  (5 / 50 )users are added to delegated system admin .  i need to write a vaildation rule in such a  way that , user detail can be edited by only delegated system admin of profile "Delegated_Knl_profile " or system admin profile . can you please help me here . getting no idea 
Chiel de Graaf.Chiel de Graaf.
Hi,

I'm not quit sure what your exact requirements are, but have you tried using $Profile.Name="....."  in your validation rule?

 
Parker EdelmannParker Edelmann
You may be able to use this rule:
NOT(ISNEW()) &&
OR($Profile.Name = "System_Administrator",
   $Profile.Name = "Delegated_Knl_profile")
You will need to tweak it a little to meet your exact requirements, but this is a start. If it helps you let me know, if not please post some more information.

Thanks,
Parker
Salesforce seekarSalesforce seekar
hi all , i have resolved my self , thanks for your help