Skip to content

IAdmPredefinedObject

The IAdmPredefinedObject interface provides information about a predefined Active Directory object.

Inheritance: The IAdmPredefinedObject interface inherits from the IUnknown interface.

Note

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

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

$predefinedObject = New-Object "Softerra.Adaxes.Utils.AdmPredefinedObject"
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 Active 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 Active 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:
  • Boolean
  • Access:
  • Read/Write

Requirements

Minimum required version: 2018.1

See also