CanBeSecurityContextField

Description

Tests whether a field can be used as a security context field.

Syntax

Perl


$entitydef->CanBeSecurityContextField(field_name); 
Identifier
Description
entitydef
An EntityDef object corresponding to a record type in a schema.
field_name
A String containing the name of the field to be tested.
Return value
The return value is Boolean True if the field can be used as a security context field; otherwise the return value is Boolean False.

Security can be managed at the database, record type, and field levels. This method tests security properties at the field level.

Security cannot be managed by DevOps Plan APIs. To manage security, you need to use the DevOps Plan Designer and DevOps Plan application.

Example

Perl

$can_be_security_field = $entitydef->CanBeSecurityContextField($field_name);