1. Go to ' | Advanced Settings | Groups | Provision Attributes'.
2. Delete the current entry for 'mail'.
3. Add the following script:
$mail = $srcobj["mail"]
if([string]::IsNullOrEmpty($mail))
{
$ans = $null;
}
else
{
$TrimmedMail = $mail.Trim()
$ans = $TrimmedMail.Substring(0,[Math]::Min(255,$TrimmedMail.Length))
}
$ans
4. Repeat for 'Update Attributes'.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center