You need to sign in to do that
Don't have an account?

Detecting if a user license is a force.com license
How do I tell if the the user is using a custom force.com license profile? From looking at the user object there is UserType property..Its values are..based on those values how would I tell a force.com license?
The category of user license. Each UserType is associated with one or more UserLicense records. Each UserLicense is associated with one or more profiles. In API version 10.0 and later, valid values include:
Standard: Salesforce.com user license. This user type also includes Salesforce.com Platform andSalesforce.com Platform One user licenses. Label is Standard.
PowerPartner: PRM user whose access is limited because he or she is a partner and typically accesses the application through a partner portal. Label is Partner.
CSPLitePortal: user whose access is limited because he or she is an organization's customer and accesses the application through aCustomer Portal. Label is High Volume Portal.
CustomerSuccess: user whose access is limited because he or she is an organization's customer and accesses the application through a Customer Portal. Label is Customer Portal User.
PowerCustomerSuccess: user whose access is limited because he or she is an organization's customer and accesses the application through a Customer Portal. Label is Customer Portal Manager.
Users with this license type can view and edit data they directly own or data owned by or shared with users below them in the Customer Portal role hierarchy.
You're trying to detect a user who only has access to OEM license-type functionality, yes? If so, a user of that type will have a UserLicense with LicenseDefinitionKey equal to AUL or AUL1.
All Answers
Use the UserLicense object to determine license type for a user.
Looking here there is nothing that really stands out as saying a specific user is a force.com licensee
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_userlicense.htm
You're trying to detect a user who only has access to OEM license-type functionality, yes? If so, a user of that type will have a UserLicense with LicenseDefinitionKey equal to AUL or AUL1.