BossEnabled

Gets or sets the attribute that indicates whether the computer is enabled as a server for JBoss applications.

Syntax

bool JBossEnabled {get; set;}

Property value

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

Exceptions

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

Example

The following code sample illustrates using JBossEnabled 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.JBossEnabled = false  
objComp.Commit  
...