C# Class Org.IdentityConnectors.Exchange.ExchangeUtility

Description of ExchangeUtility.
Exibir arquivo Open project: Evolveum/openicf Class Usage Examples

Public Methods

Method Description
GetRecipientType ( ConnectorObject cobject ) : string

Private Methods

Method Description
AddAttributeToOptions ( OperationOptions options ) : OperationOptions

Builds new Operation options and add the specified attribute names as AttributesToGet (add to existing AttributesToGet)

ConvertAdAttributesToExchange ( ConnectorObject cobject ) : ConnectorObject

Finds the attributes in connector object and rename it according to input array of names, but only if the atribute name is in attributes to get

ExchangeUtility ( ) : System

Prevents a default instance of the ExchangeUtility class from being created.

ExtractCommonName ( ConnectorAttribute cattribute, string newName ) : ConnectorAttribute

Renames the connector attribute to new name; transforms value by keeping Common Name only

ExtractCommonName ( string distinguishedName ) : string
FilterOut ( ICollection attributes ) : ICollection

helper method to filter out all attributes used in ExchangeConnector only

FilterOut ( ICollection attributes, IList names ) : ICollection

Helper method for filtering the specified attributes from collection of attributes

FilterReplace ( ICollection col, string>.IDictionary map ) : ICollection

Helper method - Replaces specified collection Items

GetAsAttribute ( System.Management.Automation.PSMemberInfo info ) : ConnectorAttribute

This method tries to get name and value from PSMemberInfo and creates ConnectorAttribute out of it

GetAttValue ( string attName, ICollection attributes ) : object

Helper method: Gets attribute value from the attribute collection

GetAttValues ( string attName, ICollection attributes ) : IList

Helper method: Gets attribute values from the attribute collection

GetCommand ( PSExchangeConnector cmdInfo, ExchangeConfiguration config ) : System.Management.Automation.Runspaces.Command

Creates Exchange 2010 Assembly Resolver, ResolveEventHandler

reads the object class info definitions from xml

GetCommand ( PSExchangeConnector cmdInfo, ICollection attributes, ExchangeConfiguration config ) : System.Management.Automation.Runspaces.Command
GetCommand ( PSExchangeConnector cmdInfo, ICollection attributes, Uid uidAttribute, ExchangeConfiguration config ) : System.Management.Automation.Runspaces.Command
GetCommand ( PSExchangeConnector cmdInfo, ICollection attributes, Uid uidAttribute, Name nameAttribute, ExchangeConfiguration config ) : System.Management.Automation.Runspaces.Command

Creates command based on the commanf info, reading the calues from attributes

GetCommand ( PSExchangeConnector cmdInfo, Name nameAttribute, ExchangeConfiguration config ) : System.Management.Automation.Runspaces.Command
GetCommand ( PSExchangeConnector cmdInfo, Uid uidAttribute, ExchangeConfiguration config ) : System.Management.Automation.Runspaces.Command
NullCheck ( object obj, string param, Configuration config ) : void

Localized null check

RenameAttribute ( ConnectorAttribute cattribute, string newName ) : ConnectorAttribute

Renames the connector attribute to new name

SetAttValue ( string attName, object attValue, ICollection attributes ) : void

Helper method: Sets attribute value in the attribute collection

copyAttribute ( ConnectorObjectBuilder builder, ConnectorObject cobject, string src, string dest ) : void

Method Details

GetRecipientType() public static method

public static GetRecipientType ( ConnectorObject cobject ) : string
cobject Org.IdentityConnectors.Framework.Common.Objects.ConnectorObject
return string