Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The NormalizeString(String) method enables the user to normalize case and accent in a string according to the setting for that particular MA. By calling this function, the user can normalize the string according to the connected directory format during provisioning. As a result, when the management agent string is imported back to the connector space from the target directory, the string value imported will be the same as what was written to connector space at provisioning time, allowing confirmation of the export.
public void NormalizeString(String)(
string Value
);
Public Sub NormalizeString(String)( _
ByVal Value As string _
)
This method does not return a value.
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 imported back into the connector space, the string in connector space is not the same as what was staged for export, since the directory will have modified the value. 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. Since normalization is carried out only in outbound synchronization, setting the initial value of an attribute in CS where the configuration specifies normalizing both case and accents would yield the following:
MV | Data flow | CS uses NormalizeString | Data flow | Connected directory |
---|---|---|---|---|
café | ———> Initial attribute value (provisioning) Or EAF |
String is normalized café<——>CAFE |
——> Export |
CAFE RACF Directory |
café | ———> | Exported data is re-imported CAFE<——>CAFE |
<—— Stage |
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 | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
Send comments about this topic to Microsoft
Build date: 2/16/2009
Please sign in to use this experience.
Sign in