Returns a computer object with all of its related Centrify-specific data, given the path to the computer zone associated with the computer.


IHierarchicalZoneComputer GetComputerByComputerZone(string zonepath)


Specify the following parameter when using this method:

Parameter Description


The LDAP path or distinguished name of the computer zone of the computer object you want to retrieve.

Return value

The computer object as:



When you assign computer-level overrides for user, group, or computer role assignments, the Centrify Windows API creates a computer zone, a Centrify zone in Active Directory that contains the users, groups, and computer role assignments that are specific to only that one computer. Computer zones are not exposed in Access Manager.

This method returns the computer object using the LDAP path or distinguished name of the computer zone. The LDAP path to a computer zone uses the following format:


For example, if you use the default parent location for computer accounts in the domain, the LDAP path for the computer account magnolia is:



GetComputerByComputerZone throws an ApplicationException if the method cannot find the specified computer.