You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/predicates.md
+19-30Lines changed: 19 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ manager: celestedg
9
9
ms.service: active-directory
10
10
ms.workload: identity
11
11
ms.topic: reference
12
-
ms.date: 10/28/2019
12
+
ms.date: 02/24/2020
13
13
ms.author: marsma
14
14
ms.subservice: B2C
15
15
---
@@ -42,12 +42,13 @@ The **Predicate** element contains the following attributes:
42
42
| --------- | -------- | ----------- |
43
43
| Id | Yes | An identifier that's used for the predicate. Other elements can use this identifier in the policy. |
44
44
| Method | Yes | The method type to use for validation. Possible values: **IsLengthRange**, **MatchesRegex**, **IncludesCharacters**, or **IsDateRange**. The **IsLengthRange** value checks whether the length of a string claim value is within the range of minimum and maximum parameters specified. The **MatchesRegex** value checks whether a string claim value matches a regular expression. The **IncludesCharacters** value checks whether a string claim value contains a character set. The **IsDateRange** value checks whether a date claim value is between a range of minimum and maximum parameters specified. |
45
+
| HelpText | No | An error message for users if the check fails. This string can be localized using the [language customization](localization.md)|
45
46
46
47
The **Predicate** element contains the following elements:
47
48
48
49
| Element | Occurrences | Description |
49
50
| ------- | ----------- | ----------- |
50
-
| UserHelpText |1:1 | An error message for users if the check fails. This string can be localized using the [language customization](localization.md)|
51
+
| UserHelpText |0:1 |(Deprecated) An error message for users if the check fails. |
51
52
| Parameters | 1:1 | The parameters for the method type of the string validation. |
52
53
53
54
The **Parameters** element contains the following elements:
@@ -65,20 +66,18 @@ The **Parameter** element contains the following attributes:
65
66
The following example shows a `IsLengthRange` method with the parameters `Minimum` and `Maximum` that specify the length range of the string:
0 commit comments