Tests whether a field can be used as a security context field.
VBScript
entitydef.CanBeSecurityContextField("field_name")
Perl
$entitydef->CanBeSecurityContextField(field_name);
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 Rational® ClearQuest® APIs. To manage security, you need to use the Rational ClearQuest Designer and Rational ClearQuest client.
VBScript
can_be_security_field = entitydef.CanBeSecurityContextField("field_name")
Perl
$can_be_security_field = $entitydef->CanBeSecurityContextField($field_name);