WebSphereEnabled

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

Syntax

bool WebSphereEnabled {get; set;}

Property value

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

Exceptions

WebSphereEnabled 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 WebSphereEnabled 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.WebSphereEnabled = false
objComp.Commit
...