Skip to content

Commit e535593

Browse files
Update functions-for-customizing-application-data.md
1 parent a69369b commit e535593

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/active-directory/app-provisioning/functions-for-customizing-application-data.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ In other words, it returns 0 in all cases except when the corresponding bits of
9696

9797
| Name | Required/ Repeating | Type | Notes |
9898
| --- | --- | --- | --- |
99-
| **value1** |Required |num |Numeric value that should be AND'ed with value2|
100-
| **value2** |Required |num |Numeric value that should be AND'ed with value1|
99+
| **value1** |Required |Num |Numeric value that should be AND'ed with value2|
100+
| **value2** |Required |Num |Numeric value that should be AND'ed with value1|
101101

102102
**Example:**
103103
`BitAnd(&HF, &HF7)`
@@ -677,7 +677,7 @@ Requires one string argument. Returns the string, but with any diacritical chara
677677

678678

679679
#### Remove diacritics from a string
680-
Example: You need to replace characters containing accent marks with equivalent characters that don't contain accent marks.
680+
Example: Replace characters containing accent marks with equivalent characters that don't contain accent marks.
681681

682682
**Expression:**
683683
NormalizeDiacritics([givenName])
@@ -889,7 +889,7 @@ SelectUniqueValue(uniqueValueRule1, uniqueValueRule2, uniqueValueRule3, …)
889889
Requires a minimum of two arguments, which are unique value generation rules defined using expressions. The function evaluates each rule and then checks the value generated for uniqueness in the target app/directory. The first unique value found will be the one returned. If all of the values already exist in the target, the entry will get escrowed and the reason gets logged in the audit logs. There is no upper bound to the number of arguments that can be provided.
890890

891891

892-
- This is a top-level function, it cannot be nested.
892+
- This function must be at the top-level and cannot be nested.
893893
- This function cannot be applied to attributes that have a matching precedence.
894894
- This function is only meant to be used for entry creations. When using it with an attribute, set the **Apply Mapping** property to **Only during object creation**.
895895
- This function is currently only supported for "Workday to Active Directory User Provisioning" and "SuccessFactors to Active Directory User Provisioning". It cannot be used with other provisioning applications.
@@ -930,7 +930,7 @@ Example: Based on the user's first name, middle name and last name, you need to
930930
SingleAppRoleAssignment([appRoleAssignments])
931931

932932
**Description:**
933-
Returns a single appRoleAssignment from the list of all appRoleAssignments assigned to a user for a given application. This function is required to convert the appRoleAssignments object into a single role name string. Note that the best practice is to ensure only one appRoleAssignment is assigned to one user at a time, and if multiple roles are assigned the role string returned may not be predictable.
933+
Returns a single appRoleAssignment from the list of all appRoleAssignments assigned to a user for a given application. This function is required to convert the appRoleAssignments object into a single role name string. The best practice is to ensure only one appRoleAssignment is assigned to one user at a time, and if multiple roles are assigned the role string returned may not be predictable.
934934

935935
**Parameters:**
936936

@@ -997,7 +997,7 @@ When **source** value matches a **key**, returns **value** for that **key**. If
997997
| **value** |Required |String |Replacement value for the **source** matching the key. |
998998

999999
#### Replace a value based on predefined set of options
1000-
Example: You need to define the time zone of the user based on the state code stored in Azure AD.
1000+
Example: Define the time zone of the user based on the state code stored in Azure AD.
10011001
If the state code doesn't match any of the predefined options, use default value of "Australia/Sydney".
10021002

10031003
**Expression:**
@@ -1046,7 +1046,7 @@ ToUpper(source, culture)
10461046
**Description:**
10471047
Takes a *source* string value and converts it to upper case using the culture rules that are specified. If there is no *culture* info specified, then it will use Invariant culture.
10481048

1049-
If you would like to set existing values in the target system to upper case, please [update the schema for your target application](./customize-application-attributes.md#editing-the-list-of-supported-attributes) and set the property caseExact to 'true' for the attribute that you are interested in.
1049+
If you would like to set existing values in the target system to upper case, [update the schema for your target application](./customize-application-attributes.md#editing-the-list-of-supported-attributes) and set the property caseExact to 'true' for the attribute that you are interested in.
10501050

10511051
**Parameters:**
10521052

@@ -1090,7 +1090,7 @@ Returns "has".
10901090
This section provides more expression function usage examples.
10911091

10921092
### Strip known domain name
1093-
You need to strip a known domain name from a user's email to obtain a user name.
1093+
Strip a known domain name from a user's email to obtain a user name.
10941094
For example, if the domain is "contoso.com", then you could use the following expression:
10951095

10961096
**Expression:**
@@ -1103,7 +1103,7 @@ For example, if the domain is "contoso.com", then you could use the following ex
11031103

11041104

11051105
### Generate user alias by concatenating parts of first and last name
1106-
You need to generate a user alias by taking first 3 letters of user's first name and first 5 letters of user's last name.
1106+
Generate a user alias by taking first three letters of user's first name and first five letters of user's last name.
11071107

11081108
**Expression:**
11091109
`Append(Mid([givenName], 1, 3), Mid([surname], 1, 5))`

0 commit comments

Comments
 (0)