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
ChermaduraiChermadurai 

Display Message According to Profile

Hi..my reqirement is if he is an administrator need to display ' U r Admin' else ' U r not an Admin'...

 

Is it possible???

 

 

Santosh KumbarSantosh Kumbar

Where you want to display it....If it is on VF, its possible...

 

 

Regards

Santosh

www.santoshkumbar.com

JitendraJitendra

Hi,

 

You can use the global variable $profile to get the name of profile..

 

In case of custom VF you can easily display however in case of Standard page layout either you can use the formula field or Inline VF to achieve the same.