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
Jen RomanoJen Romano 

Partner User Validation Rule

I am trying to trigger a validation rule with some criteria, but only when a Partner User does the action. What can I use to determine if the current user is a partner user? I've tried $Profile.LicenseType, $Profile.UserType, $User.UserType, etc., but none seem to work.

Best Answer chosen by Admin (Salesforce Developers) 
Jen RomanoJen Romano

Figured it out. ISPICKVAL($User.UserType,"PowerPartner"). In reports the User Type is Partner, but when extracting from dataloader, its PowerPartner. Who knew...