TomcatEnabled

Determines whether the computer is enabled as a server for Tomcat applications.

Syntax

bool TomcatEnabled {get; set;}

Property value

Set to true if access to Tomcat applications is enabled for the computer account, or false if not.

Exceptions

TomcatEnabled throws an InvalidOperationException if you try to set this property when the computer is not in a zone. For example, if you are using Centrify Express or have joined the domain using the --workstation option, you should not use this property.

Example

The following code sample illustrates using TomcatEnabled for a computer object in a script:

...
set objZone = cims.GetZoneByPath("LDAP://CN=research, CN=zones,CN=centrify,CN=program data,DC=sierra,DC=com")
'Identify the computer account
Set objComp = cims.GetComputerByPath("LDAP://CN=aixserver, CN=computers,DC=sierra,DC=com”) 
Set objComp.TomcatEnabled = true
objComp.Commit
...