PortalDelegablePermissionSet

Represents the org-level permission sets that can be assigned to a particular profile for external users or shoppers in a store after enabling the Delegable Administration perm.

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Important

Parent Type 

This type extends Metadata and inherits its fields.

File Suffix and Directory Location 

PortalDelegablePermissionSet components have the suffix .portaldelegablepermissionset and are stored in the portaldelegablepermissionsets folder.

Version 

Introduced in API version 56.0.

Fields 

isProtected 

  • Type: boolean
  • Required: No
  • Description: An auto-generated value that doesn’t impact the behavior of the metadata type.

masterLabel 

  • Type: string
  • Required: Yes
  • Description: Required. The label for the service that appears to users.

permissionSet 

  • Type: string
  • Required: Yes
  • Description: Required. Foreign key to the permissionSet entity.

profile 

  • Type: string
  • Required: Yes
  • Description: Required. Foreign key to the profile entity.

Declarative Metadata Sample Definition 

The following is the definition of the PortalDelegablePermissionSet entity.

1<xsd:complexType name="PortalDelegablePermissionSet">
2    <xsd:complexContent>
3     <xsd:extension base="tns:Metadata">
4      <xsd:sequence>
5       <xsd:element name="isProtected" minOccurs="0" type="xsd:boolean"/>
6       <xsd:element name="masterLabel" type="xsd:string"/>
7       <xsd:element name="permissionSet" type="xsd:string"/>
8       <xsd:element name="profile" type="xsd:string"/>
9      </xsd:sequence>
10     </xsd:extension>
11    </xsd:complexContent>
12   </xsd:complexType>

The following is an example package.xml that references the previous definition.

1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3    <types>
4        <members>*</members>
5        <name>PortalDelegablePermissionSet</name>
6    </types>
7    <types>
8        <members>*</members>
9        <name>Profile</name>
10    </types>
11    <types>
12        <members>*</members>
13        <name>PermissionSet</name>
14    </types>
15<version>56.0</version>
16</Package>

Wildcard Support in the Manifest File 

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.