Microsoft Identity Integration Server 2003 Developer Reference |
[C#]
public void NormalizeString(String)(
string Value
);
[Visual Basic .NET]
Public Sub NormalizeString(String)( _
ByVal Value As string _
)
Exception type | Condition |
---|---|
ArgumentException | An input text string must be specified. |
ArgumentNullException | The argument is null. |
OutOfMemoryException | A memory allocation failure occurred. |
Certain directories, such as RACF, TopSecret, or ACF2 change text strings that are imported into the directory to remove accents from text characters or to make the text strings all upper case. When data from the management agent is then imported back into the connector space, the connector space object can no longer map the MA string to the correct metaverse object. When you use this method, you can set case rules on the string, which makes the string all upper case, or accent rules, which removes accent characters from the string. The following table demonstrates how this would work when this method is used:
MV | Data Flow | CS uses NormalizeString | Data Flow | Connected Directory |
---|---|---|---|---|
café | —————> | café<——>CAFE | —————> | RACF Directory |
café | <————— | CAFE<——>CAFE | <————— | RACF Directory |
This method is used on the Extensible Management Agent and the XML Management Agent. The management agents can be call-based or file-based.
Once you have created the management agent that contains this method, you must use the Identity Manager UI to set the options for how the string should be normalized. In Identity Manager, you will need to create a new management agent. In the Create Management Agent UI, on the Configure Connection Information page, the management agents can be set as call-based or file-based. You must select the Import and Export radio button as the step type. On the Configure Attributes page, there are two check boxes: Upper Case and Remove Accents. Select one or both options.
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.