Represents a profile, which defines a set of permissions to perform
different operations, such as querying, adding, updating, or deleting
information.
Supported Calls
delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update()
Special Access Rules
- Customer Portal users
can't access this object.
- Partner portal users can’t access this object.
Fields
| Description
|
- Type
- string
- Properties
- Filter, Group, Nillable, Sort, Update
- Description
- Description of the profile.
|
| IsSsoEnabled
|
- Type
- boolean
- Properties
- Defaulted on create, Filter, Group, Sort
- Description
- If true, users assigned to
this profile can delegate username and password authentication to
a corporate database instead of the user database.
|
| Name
|
- Type
- string
- Properties
- Filter, Group, Sort, Update
- Description
- The name of the profile.
|
| PermissionPermissionName
|
- Type
- boolean
- Properties
- Filter, Update
- Description
- One field for each permission. If true, users assigned to this profile have the named permission.
The number of fields varies depending on the permissions for the organization
and license type.
|
| UserLicenseId
|
- Type
- reference
- Properties
- Filter, Group, Sort
- Description
- ID of the UserLicense associated with this profile.
|
| UserType
|
- Type
- picklist
- Properties
- Filter, Group, Nillable, Restricted picklist, Sort
- Description
-
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:
UserType replaces LicenseType, which is unavailable as of API version
10.0. In API versions 8.0 and 9.0 LicenseType is still
available with the following valid values:
|
Usage
Use the Profile object to query the
set of currently configured user profiles in your organization. Your
client application can use Profile objects to obtain valid profile
IDs for use when querying or modifying users through the API.
In the user interface, profiles can be used to assign user licenses
from specific pools (Force.com Platform user license or Salesforce user
license, for example). If a user is assigned to a profile with a different
license type, the number of available licenses in the old license
type pool increases, one per user changed, and decreases by the same
amount in the new license type pool.