Purpose: This method is used to generate a random GUID
Syntax: NewGUID()
Example 1: The following expression will set the target object's CN as a random GUID; this is needed to avoid possible name collision as CN is not a unique attribute in Active Directory.
Select mapping for ‘DistinguishName and double click, enter the below expression under value field:
GetDn(NewGuid())
Example 2: The following expression will set the target object's samAccountName with a random GUID of 20 characters long.
Select mapping for ‘samAccountName and double click, enter the below expression under value field:
Left(NewGuid(), 20)
The following are the target attributes which contain advanced mapping values by default. The defaults differ based on the source and target environment type.
Note: Changing the default advanced mappings may result in unexpected behavior.
distinguishedName
Target Attribute : distinguishedName
Value : GetDN(cn)
Condition : Null
Definition : This creates the DN for the target user. This is defined by the source CN and by reading the Target OU specified within the Stage Data step of a workflow.groupType
Target Attribute : groupType
Value : GetGroupType()
Condition : Action = "create"
Definition : This will set the group type on creation. The GetGroupType function looks up the setting in the Template selected to determine the target group type.
legacyExchangeDN
Target Attribute : legacyExchangeDN
Value : GetLegacyExchangeDN(Target.ExchangeOrg, objectGuid)
Condition : Null
Definition : This default mapping will read the exchange org info from the target environment and create the LegacyDN using this value.
objectClass
Target Attribute : objectClass
Value : GetObjectClass()
Condition : Action = "create"
Definition : This will read the objectclass of the target user being created based on settings in the template. Create users as, Create Groups as, etc.
proxyAddresses
Target Attribute : proxyAddresses
Value : GetProxyAddresses(result("mail"), legacyExchangeDN, result("legacyExchangeDN"))
Condition : Null
pwdLastSet
Target Attribute : pwdLastSet
Value : 0
Condition : Action = "create"
targetAddress
Target Attribute : targetAddress
Value : GetTargetAddress()
Condition : AllowTargetAddress()
unicodePwd
Target Attribute : unicodePwd
Value : EncodePwd(Profile.DefaultPassword)
Condition : Action = "create"
userAccountControl
Target Attribute : userAccountControl
Value : GetUserAccountControl()
Condition : Action = "create" or (Action = "update" and Target.HasCreateStamp)
userPrincipalName
Target Attribute : userPrincipalName
Value : ReplaceDomain(userPrincipalName, Profile.TargetDomain)
Condition : Null
Target Attribute : mail
Value : if(GetObjectClass()="group", ReplaceDomain(mail, Profile.TargetDomain), mail)
Condition : Null
distinguishedName
Target Attribute : distinguishedName
Value : GetDN(cn)
Condition : Null
Definition : This creates the DN for the target user. This is defined by the source CN and by reading the Target OU specified within the Stage Data step of a workflow.
groupType
Target Attribute : groupType
Value : GetGroupType()
Condition : Action = "create"
Definition : This will set the group type on creation. The GetGroupType function looks up the setting in the Template selected to determine the group type.
legacyExchangeDN
Target Attribute : legacyExchangeDN
Value : GetLegacyExchangeDN(Target.ExchangeOrg, objectGuid)
Condition : Null
msExchRecipientTypeDetails
Target Attribute : RecipientTypeDetails
Value : GetRecipientTypeDetails()
Condition : Action = "create"
objectClass
Target Attribute : objectClass
Value : GetObjectClass()
Condition : Action = "create"
proxyAddresses
Target Attribute : proxyAddresses
Value : GetProxyAddresses(result("mail"), legacyExchangeDN, result("legacyExchangeDN"))
Condition : Null
unicodePwd
Target Attribute : unicodePwd
Value : EncodePwd(Profile.DefaultPassword)
Condition : Action = "create"
userAccountControl
Target Attribute : userAccountControl
Value : GetUserAccountControl()
Condition : Action = "create" or (Action = "update" and Target.HasCreateStamp)
userPrincipalName
Target Attribute : userPrincipalName
Value : ReplaceDomain(userPrincipalName, Profile.TargetDomain)
Condition : Null
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center