Map

The Map class contains methods and properties used to manage individual NIS map entries stored in Active Directory. This class is defined in the Centrify.DirectControl.NISMap.API namespace rather than the Centrify.DirectControl.API namespace.

Syntax

public class IMap : ICloneable, IDisposable

Discussion

The Map class supports the methods and properties that apply to all .NET objects. In addition to those methods and properties, the Map class provides some Centrify‑specific methods and properties for managing individual NIS map records. Only the Centrify‑specific methods and properties are described in this reference.

Methods

The Map class provides the following Centrify‑specific methods:

This method Does this

Add

Adds a new map entry with the specified key to the NIS map.

Clone

Makes a clone of the NIS map entry.

Inherited from ICloneable.

Commit

Commits changes to the NIS map and saves them in Active Directory.

2

Dispose

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Inherited from IDisposable.

Exists

Checks whether there is an entry with a specific key-value pair.

Get

Returns the NIS map entry with the specified key.

GetByID

Returns the NIS map entry with the specified ID.

GetDirectoryEntry

Returns the DirectoryEntry for the NIS map object.

GetEnumerator

Returns an enumeration of IMap objects.

GetRedirectMap

Returns the redirect target NIS map.

Import

Imports a new map entry with the specified key.

Remove

Removes the map entry with the specified key.

RemoveByID

Removes the map entry with the specified ID

Properties

The Map class provides the following Centrify‑specific properties:

This property Does this

IsReadable

Indicates whether the map object is readable.

IsWritable

Indicates whether the map object is writable.

Name

Gets or sets the map name of the NIS map.

Store

Gets the Store instance associated with the map object.

Type

Gets or sets the NIS map type.