IAdmPredefinedObject

The IAdmPredefinedObject interface provides information about a predefined directory object.

Inheritance: IUnknown

To get the IAdmPredefinedObject interface, you need to create an instance of the AdmPredefinedObject class.

 How
PowerShell
[Reflection.Assembly]::LoadWithPartialName("Softerra.Adaxes.Adsi")

$predefinedObject = New-Object "Softerra.Adaxes.Utils.AdmPredefinedObject"
C#
using Softerra.Adaxes.Utils;

class Program
{
    static void Main(string[] args)
    {
        AdmPredefinedObject predefinedObject = new AdmPredefinedObject();
    }
}

Properties

  • Property

  • Description

  • DisplayText

  • Gets or sets an optional display text for the predefined object.

  • ObjectReference

  • Gets or sets a reference to the directory object.

  • UseByDefault

  • Gets or sets a value indicating whether the predefined object must be used by default.

Details

DisplayText

Gets or sets an optional display text for the predefined object. You can use value references in the text (e.g. %department%).

  • Type:
  • string
  • Access:
  • Read/Write

ObjectReference

Gets or sets a reference to the directory object.


UseByDefault

Gets or sets a value indicating whether the predefined object must be used by default. If multiple objects are marked as default, the first one is used.

  • Type:
  • bool
  • Access:
  • Read/Write

Requirements

Minimum required version: 2018.1

See also