+ Start a Discussion
fgwarbfgwarb 

Documentation Correction Needed

The documentation on the URL contradicts itself.  "Use it to access the LicenseType field.  By the way, you can't use it to access the LicenseType field."  Funny, but worth correcting.

 

http://www.salesforce.com/us/developer/docs/pages/Content/pages_variables_global.htm

 

 

DescriptionA global merge field type to use when referencing information about the current user's profile. Use profile merge fields to reference information about the user's profile such as license type or name.
UseUse dot notation to access your organization's information.
Note that you cannot use the following $Profile values in Visualforce:
  • LicenseType
  • UserType
Best Answer chosen by Admin (Salesforce Developers) 
sfdcfoxsfdcfox

There is no contradiction. It simply makes an observation that you can't use it in Visualforce. $Profile.LicenseType is perfectly valid in formulas, such as Validation Rules or Workflow Field Updates.

All Answers

sfdcfoxsfdcfox

There is no contradiction. It simply makes an observation that you can't use it in Visualforce. $Profile.LicenseType is perfectly valid in formulas, such as Validation Rules or Workflow Field Updates.

This was selected as the best answer
fgwarbfgwarb

I got to that page by going to the visualforce documentation, so I was thinking that the information in there was just for visualforce; not other parts of salesforce.