authenticationAttributeCollectionInputConfiguration 资源类型

命名空间:microsoft.graph

表示在作为外部标识的自助服务用户流的一部分的属性集合页上收集的属性的显示配置。

属性

属性 类型 说明
属性 String 要为其收集值的内置或自定义属性。
defaultValue String 显示给最终用户的属性的默认值。 无法通过 Microsoft Entra 管理中心设置默认值。
编辑 布尔值 定义最终用户是否可以编辑属性。
hidden 布尔值 定义是否向最终用户显示特性。 无法通过 Microsoft Entra 管理中心使用隐藏功能。
inputType authenticationAttributeCollectionInputType 输入字段的类型。 可能的值包括 textradioSingleSelectcheckboxMultiSelectbooleancheckboxSingleSelectunknownFutureValue
标签 String 显示给最终用户的属性字段的标签,除非被重写。
选项 authenticationAttributeCollectionOptionConfiguration 集合 某些多选项输入类型的选项值。
必需 布尔值 定义字段是否是必需的。
validationRegEx String 字段值的正则表达式。 有关支持的正则表达式的详细信息,请参阅 inputType 对象的 validationRegEx 值。 若要了解如何指定正则表达式,请参阅 正则表达式备忘单
writeToDirectory 布尔值 定义Microsoft Entra ID 是否存储它收集的值。

inputType 对象的 validationRegEx 值

在 Microsoft Entra 管理中心的 “自定义用户属性 ”页上,只有 StringIntBoolean 输入类型可用于自定义用户属性。 下表列出了自定义用户属性的这些输入类型的默认 validationRegEx 值。

String - '^.*
String - ^[a-zA-Z_][0-9a-zA-Z_ ]*[0-9a-zA-Z_]+$
Int    - ^[0-9]+$
String - ^[a-zA-Z0-9.!#$%&’'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$
String (email) - ^[a-zA-Z0-9.!#$%&’'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)*$
Boolean - empty object

关系

无。

JSON 表示形式

以下 JSON 表示形式显示了资源类型。

{
  "@odata.type": "#microsoft.graph.authenticationAttributeCollectionInputConfiguration",
  "attribute": "String",
  "label": "String",
  "inputType": "String",
  "defaultValue": "String",
  "hidden": "Boolean",
  "editable": "Boolean",
  "writeToDirectory": "Boolean",
  "required": "Boolean",
  "validationRegEx": "String",
  "options": [
    {
      "@odata.type": "microsoft.graph.authenticationAttributeCollectionOptionConfiguration"
    }
  ]
}