WebLogicEnabled

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

Syntax

bool WebLogicEnabled {get; set;}

Property value

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

Exceptions

WebLogicEnabled 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 WebLogicEnabled 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.WebLogicEnabled = true  
objComp.Commit  
...