Rediger

Enabled property on profiles

Version: Available from runtime version 4.0.

Specifies whether users can use the profile.

For information about the Enabled property for pages, keys, and table fields, see Enabled property.

Applies to

  • Profiles

Property value

Set the property to true to make the profile available to users. Otherwise, set it to false. The default is true.

Syntax

Enabled = false;

Example

The following example explicitly enables a profile.

profile MyProfile
{
    Description = 'Sales order processor profile';
    Caption = 'Sales order processor';
    ProfileDescription = 'Creates and processes sales orders.';
    RoleCenter = MyRoleCenter;
    Enabled = true;
    Promoted = true;
    Customizations = MyCustomization;
}

Profile object
Enabled property
Properties