What's the API name of system permissions?

Metadata API sometimes have different API names than the one shown on the UI.

Manage Public List Views permission is called as "EditPublicFilters" and Create and Customize List Views is called as "CreateCustomizeFilters"

So your user permission will be.

    <userPermissions>
        <enabled>true</enabled>
        <name>CreateCustomizeFilters</name>
    </userPermissions>
    <userPermissions>
        <enabled>true</enabled>
        <name>EditPublicFilters</name>
    </userPermissions>

The best place to check for it is the workbench.

Enter image description here

Reference: API Names of System and App Permissions?

Tags:

Metadata Api