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 IBM Security-specific methods and properties for managing individual NIS map records. Only the IBM Security-specific methods and properties are described in this reference.

Methods

The Map class provides the following IBM Security-specific methods:

Method Description
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`](get.md) | Returns the NIS map entry with the specified key. | | [GetByID](getbyid.md) | Returns the NIS map entry with the specified ID. | | [GetDirectoryEntry](getdirectoryentry.md) | Returns theDirectoryEntryfor the NIS map object. | | [GetEnumerator](getenumerator.md) | Returns an enumeration ofIMapobjects. | | [GetRedirectMap](getredirectmap.md) | Returns the redirect target NIS map. | | [Import](import.md) | Imports a new map entry with the specified key. | | [Remove](remove.md) | Removes the map entry with the specified key. | | [RemoveByID Removes the map entry with the specified ID

Properties

The Map class provides the following IBM Security-specific properties:

Property Description
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.