Enabled (Profile) Property

Version: Available from runtime version 1.0.

Specifies whether the profile can be used by users or not.

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

Applies to

  • Profiles

Property Value

True on profiles that should be available to the end-user; otherwise, false. True is default.

Syntax

Enabled = false;

Example

The following code illustrates how to set the Enabled property. True is default, but just used here for illustration purposes.

profile MyProfile
{ 
    Description = 'Some internal comment that only the Dev can see'; 
    Caption = 'My User-friendly Name'; 
    ProfileDescription = 'A detailed description of who is this profile for, why/how to use it (etc)' 
    RoleCenter = MyRoleCenter; 
    Enabled = true; 
    Promoted = true; 
    Customizations = MyCustomization;
} 

Table Properties
Properties