サポートと今すぐチャット
サポートとのチャット

On Demand Migration Current - Active Directory - Directory Sync Advanced Mapping Guide

encodePWD

  • Purpose: Used to encode a string password so that it can be applied to newly created objects in Local AD.  This method should not be used to set the password on a cloud object.

  • Syntax:  EncodePwd(password)

  • Example:

    Target Attribute    : unicodePwd

    Value        : EncodePwd(Profile.DefaultPassword)

    Condition    : Action = "create"

GetAccountDisabled

  • Purpose: Calculates whether to create a target cloud object as enabled or disabled. This does not apply to local AD environments. If the source is a local AD object, the function will read the UserAccountControl and determine if the object should be enabled or disabled.

  • Syntax: GetAccountDisabled()

  • Example:  This example is also a default mapping for cloud environments. It will set the account as enabled or disabled if we create the object, or update an object that was created by Directory Sync. The limit of only updating objects created by Directory Sync can be removed by removing everything in the condition field.

    Target Attribute    : AccountDisabled

    Value        : GetAccountDisabled()

    Condition    : Action = "create" or (Action = "update" and Target.HasCreateStamp)    

ReplaceDomain

  • Purpose: Replaces the domain part of the given attribute with the value specified.

  • Syntax: ReplaceDomain(attribute, value)

  • Attribute can be any attribute that contains an @domain…. Value

  • Value specified can be text or anything that represents a domain name.

  • Example 1:

    This example replaces the Domain value of the source userPrincipalName with the domain value selected in the Stage Data step of a workflow

    Target Attribute    : userPrincipalName

    Value        : ReplaceDomain(S.userPrincipalName, Profile.TargetDomain)

    Condition    : Null    

  • Example 2:

    This example replaces the Domain value of the source Target address with the domain value selected in the Stage Data step of a workflow

    Target Attribute    : TargetAddress

    Value        : ReplaceDomain(S.TargetAddress, Profile.TargetDomain)

    Condition    : AllowTargetAddress()

GetProxyAddresses

  • Purpose: Create list of Proxy addresses removing any duplicates that are found.

  • Syntax: GetProxyAddresses(SourceProxyAddresses,TargetProxyaddresses, address1,Address2,address3)

  • Example:   Local to Local environment merge Source and Target Proxyaddresses in Target Object

    Target Attribute    : Proxyaddresses

    Value        :  GetProxyAddresses(S.proxyAddresses, T.proxyAddresses, prefix(Result("mail"), "SMTP:"), prefix(legacyExchangeDN, "x500:"), prefix(Result("legacyExchangeDN"), "x500:"))

    Condition    :

  • Example:   Cloud to Cloud environment.  SourceProxyAddresses is set to Null by default to avoid errors adding domains which are not accepted by Office 365.

    Target Attribute    : Proxyaddresses

    Value        :  GetProxyAddresses(null, T.EmailAddresses, prefix(Result("WindowsEmailAddress"), "SMTP:"), prefix(LegacyExchangeDN, "x500:"))

    Condition    :

関連ドキュメント

The document was helpful.

評価を選択

I easily found the information I needed.

評価を選択