Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On this Page

Table of Contents
maxLevel2
excludeOlder Versions|Additional Resources|Related Links|Related Information

Execute during preview

This property enables you to execute the Snap during the Save operation so that the output view can produce the preview data.  Not selected

 

Snap type:

Write 


Description:

This Snap updates the user photo in the Active Directory to the provided distinguished name.

  • Expected upstream Snaps: Upstream Snap can be given. File reader followed by any file parser  followed by Structure.
  • Expected downstream Snaps: Any file  Formatter followed by File Writer.
  • Expected input:  Distinguished name, Photo attribute name,  Base64 jpeg string
  • Expected output:  This Snap will display the updated distinguished name.
 


Prerequisites:

[None] 


Support and limitations:Works in Ultra pipelines: May work in Ultra Pipelines.
  • Spark mode (Deprecated)Not supported in Spark mode.
  • Account: 

    This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. See Active Directory Basic Auth Account for information on setting up this type of account. 


    Views:


    InputThis Snap has at most one document input view.
    OutputThis Snap has exactly one document output view.
    ErrorThis Snap has at most one document error view and produces zero or more documents in the view.

     


    Settings

    Label 


    Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline.

    Distinguished name 

    Required. 

    The LDAP API references an LDAP object by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas. An RDN is an attribute with an associated value in the form form attribute=value, normally expressed in a UTF-8 string format. The following lists   The typical RDN attribute types asinclude: DC  

    DC = domainComponent, CN = commonName, OU = organizationalUnitName,O = organizationName, STREET = streetAddress, L = localityName,ST = stateOrProvinceName, C = countryName, UID = userid.Example: CN

    This field is applicable only to existing users. If the user does not exist, create an entry using the Create Entry Snap first.

    ExampleA distinguished name for an LDAP entry can be represented as: 

    CN=AbcUser,CN=Users,DC=server,DC=gaianlabscompany,DC=com

    In this example, to refer to the entire user list, you can remove the initial attribute, CN=AbcUser.

    Default value:   [None] 

    You can also use special characters in the distinguished name. See the section Using Special Characters in Distinguished Name below.


    Photo attribute name

    Required. The name of the photo attribute in Active Directory to update. This defaults to 'jpegPhoto' but can be customized within Active Directory. 


    Base64 jpeg string

    Required. Provide the base64 jpeg string of the image to be uploaded.

     


    Pass through

    Select to include the entire input data in the Snap's output. The Snap includes this data within the $original field in the output. 

    Default value:

    Example

    Image Removed

    Not selected

    Multiexcerpt include macro
    nameSnap Execution
    pageSOAP Execute

    Multiexcerpt include macro
    nameExecution_Detail_Write
    pageSOAP Execute

    Example

    Image Added

    Insert excerpt
    Active Directory Add Member
    Active Directory Add Member
    nopaneltrue

    Insert excerpt
    Active Directory Snap Pack
    Active Directory Snap Pack
    nopaneltrue