-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfieldMapping.json
56 lines (56 loc) · 1.84 KB
/
fieldMapping.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"Version": "v1",
"MappingFields": [
{
"Name": "ExchangeGuid",
"Description": "[Mandatory]",
"Type": "Text",
"MappingActions": [
{
"MapForActions": [
"Create"
],
"MappingMode": "None",
"Value": "null",
"UsedInNotifications": false,
"StoreInAccountData": true
}
]
},
{
"Name": "userPrincipalName",
"Description": "[Mandatory]",
"Type": "Text",
"MappingActions": [
{
"MapForActions": [
"Create",
"Enable",
"Disable"
],
"MappingMode": "Complex",
"Value": "\"function getUserPrincipalName() {\\r\\n let upn = '';\\r\\n\\r\\n if (typeof Person.Accounts.MicrosoftActiveDirectory.userPrincipalName !== 'undefined' && Person.Accounts.MicrosoftActiveDirectory.userPrincipalName) {\\r\\n upn = Person.Accounts.MicrosoftActiveDirectory.userPrincipalName;\\r\\n }\\r\\n\\r\\n return upn;\\r\\n}\\r\\n\\r\\ngetUserPrincipalName()\"",
"UsedInNotifications": false,
"StoreInAccountData": false
}
]
},
{
"Name": "mail",
"Description": "[Mandatory]",
"Type": "Text",
"MappingActions": [
{
"MapForActions": [
"Create"
],
"MappingMode": "Complex",
"Value": "\"function getEmail() {\\r\\n let mail = '';\\r\\n\\r\\n if (typeof Person.Accounts.MicrosoftActiveDirectory.mail !== 'undefined' && Person.Accounts.MicrosoftActiveDirectory.mail) {\\r\\n mail = Person.Accounts.MicrosoftActiveDirectory.mail;\\r\\n }\\r\\n\\r\\n return mail;\\r\\n}\\r\\n\\r\\ngetEmail()\"",
"UsedInNotifications": false,
"StoreInAccountData": false
}
]
}
],
"UniqueFieldNames": []
}