Identity Get Template DataContract

The GetIdentityTemplateDataContract activity can be used to get the DataContract using IdentityId. This activity is available from version 8.2.

Input Data

The following input data can be configured for the activity.

IdentityId

The identifier of the Identity.

Output Data

Result

A IdentityTemplateDataContract with the following definition:

/// <summary></summary> [DataMember] public string IdentityType { get; set; } /// <summary></summary> [DataMember] public string TargetSystem { get; set; } /// <summary></summary> [DataMember] public string TargetNetwork { get; set; } /// <summary></summary> [DataMember] public string UserId { get; set; } /// <summary>The key is the attribute name and the value contains the value of the attribute</summary> [DataMember] public Dictionary<string, object> Attributes { get; set; } /// <summary></summary> [DataMember] public DateTime ValidFrom { get; set; } /// <summary></summary> [DataMember] public DateTime? ValidTo { get; set; }

 

Serialization

To be able to use it in the ConvertObjectToXml activity because of how the workflow engine handles complex objects it needs to be converted to plain JSON again.

This can be achieved in Javascript with:

JSON.parse(JSON.stringify(YourTemplateContract))

 

© ITSENSE AG. Alle Rechte vorbehalten. ITSENSE und CoreOne sind eingetragene Marken der ITSENSE AG.