Microsoft Identity Integration Server 2003 Developer Reference

Utils

The Utils class provides a set of utility methods that can be used to perform synchronization operations and create new objects.

The Utils class is derived from the System.Object class.

Public Methods

The Utils class has the following public methods.

Method Description
ConvertSecurityDescriptorToString

Static (Shared). A static method that converts a byte array containing a security descriptor to a string.

ConvertSidToString

Static (Shared). A static method that converts a byte array containing a security identifier to a string.

ConvertStringToSecurityDescriptor

Static (Shared). A static method that converts a string containing a security descriptor to a byte array.

ConvertStringToSid

Static (Shared). A static method that converts a string containing a security identifier to a byte array.

Equals

Determines if two objects are equal.

FindMVEntries(String, Boolean)

Static (Shared). A static method that retrieves the metaverse entries with the specified Boolean attribute value.

FindMVEntries(String, Boolean, Int32)

Static (Shared). A static method that retrieves the metaverse entries with the specified Boolean attribute value and maximum number of results.

FindMVEntries(String, Byte[])

Static (Shared). A static method that retrieves the metaverse entries with the specified byte array attribute value.

FindMVEntries(String, Byte[], Int32)

Static (Shared). A static method that retrieves the metaverse entries with the specified byte array attribute value and maximum number of results.

FindMVEntries(String, Int64)

Static (Shared). A static method that retrieves the metaverse entries with the specified Int64 attribute value.

FindMVEntries(String, Int64, Int32)

Static (Shared). A static method that retrieves the metaverse entries with the specified Int64 attribute value and maximum number of results.

FindMVEntries(String, String)

Static (Shared). A static method that retrieves the metaverse entries with the specified string attribute value.

FindMVEntries(String, String, Int32)

Static (Shared). A static method that retrieves the metaverse entries with the specified string attribute value and the maximum number of results.

FindMVEntries(String, String, Int32, String)

Static (Shared). A static method that retrieves the metaverse entries with the specified string attribute value and maximum number of results. The results are returned in the specified collation order.

FindMVEntries(String, String, String)

Static (Shared). A static method that retrieves the metaverse entries in the specified collation order.

FindMVEntries(String, Value)

Static (Shared). A static method that retrieves the metaverse entries with the specified attribute value.

FindMVEntries(String, Value, Int32)

Static (Shared). A static method that retrieves the metaverse entries with the specified attribute value and maximum number of results.

FindMVEntries(String, Value, Int32, String)

Static (Shared). A static method that retrieves the metaverse entries with the specified attribute value and maximum number of results. The results are returned in the specified collation order.

FindMVEntries(String, Value, String)

Static (Shared). A static method that retrieves the metaverse entries with the specified attribute value in the specified collation order.

GetHashCode

Serves as a hash function for a particular type.

GetType

Retrieves the Type of the current instance.

ToString

Retrieves a String that represents the current object.

ValueCollection(Boolean)

Static (Shared). Creates a new ValueCollection object that contains the given Boolean value.

ValueCollection(Byte[])

Static (Shared). Creates a new ValueCollection object that contains the given byte array value.

ValueCollection(Byte[][])

Static (Shared). Creates a new ValueCollection object that contains an array of the given byte array values.

ValueCollection(Int64)

Static (Shared). Creates a new ValueCollection object that contains the given Int64 value.

ValueCollection(Int64[])

Static (Shared). Creates a new ValueCollection object that contains the given array of Int64 values.

ValueCollection(String)

Static (Shared). Creates a new ValueCollection object that contains the given string.

ValueCollection(String[])

Static (Shared). Creates a new ValueCollection object that contains the given array of strings.

ValueCollection(Value)

Static (Shared). Creates a new ValueCollection object that contains the given Value value.

Public Properties

The Utils class has the following public properties.

Property Description
ExtensionsDirectory Data type: String
Access type: Read-only

Static (Shared). Retrieves the path of the extensions directory.

InPreviewMode Data type: Boolean
Access type: Read-only

Static (Shared). Determines if the current operation is running in preview mode.

MAs Data type: ManagementAgentCollection
Access type: Read-only

Static (Shared). Retrieves a ManagementAgentCollection object that contains all management agents.

TransactionProperties Data type: TransactionPropertyCollection
Access type: Read-only

Static (Shared). Retrieves a TransactionPropertyCollection object that contains the properties for the current transaction.

WorkingDirectory Data type: String
Access type: Read-only

Static (Shared). Retrieves the path of the working directory of the management agents.

Protected Constructors

The Utils class has the following protected constructor.

Constructor Description
Utils

Creates an instance of the Utils class.

Remarks

The static methods of the Utils class can be called only within a rules extension inside one of the following methods:

Requirements

Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

ManagementAgent, MVEntry, TransactionPropertyCollection, Value, ValueCollection