Role

Represents a role in your organization.

This type extends RoleOrTerritory and inherits its fields.

The file suffix for role components is .role and components are stored in the roles directory of the corresponding package directory.

Introduced in API version 24.0.

  • Type: string
  • Required: No
  • Description: The unique identifier for API access. The fullName can contain only underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. This field is inherited from the Metadata component. Corresponds to Role Name in the user interface.
  • Type: string
  • Required: No
  • Description: The role above this role in the hierarchy.

The following is the definition of a role.

This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.