CanBeSecurityContext

Description

Tests whether access to a record type can be controlled with access and action security privileges.

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

Security cannot be managed by HCL Compass APIs. To manage security, you need to use HCL Compass Designer and the HCL Compass client.

Syntax

VBScript


entitydef.CanBeSecurityContext 

Perl


$entitydef->CanBeSecurityContext(); 
Identifier
Description
entitydef
An EntityDef object corresponding to a record type in a schema.
Return value
The return value is Boolean True if the EntityDef (record type) object can be used as a security context; otherwise the return value is Boolean False.

Examples

VBScript


can_be_secure = entitydef.CanBeSecurityContext 

Perl

$can_be_secure = $entitydef->CanBeSecurityContext();