identityUserFlowAttribute 资源类型
命名空间:microsoft.graph
重要
Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
代表 Azure Active Directory(Azure AD)租户和 Azure AD B2C 租户中的用户流属性。
在 Azure AD 或 Azure AD B2C 租户中配置用户流属性,可在注册期间收集用户的相关信息。 可选择收集内置属性集;例如,指定名字、姓氏、市/县和邮政编码。 还可以配置自定义用户流属性,以便收集未内置到目录中的用户的信息。 自定义用户流属性是对Azure Active Directory 架构扩展的抽象。
identityBuiltInUserFlowAttributes 和 identityCustomUserFlowAttributes 都继承自此基类型。
方法
| 方法 | 返回类型 | Description |
|---|---|---|
| List | identityUserFlowAttributes collection | 检索所有内置和自定义的用户流属性。 |
| 创建 | identityUserFlowAttribute | 创建新的自定义用户流属性。 |
| 获取 | identityUserFlowAttribute | 检索用户流属性的属性。 |
| 更新 | 无 | 更新自定义用户流属性。 |
| 删除 | 无 | 删除自定义用户流属性。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| id | String | 用户流属性的标识符。 这是一个自动创建的只读属性。 |
| displayName | String | 用户流属性的显示名称。 |
| 说明 | String | 注册时显示给用户的用户流量属性的描述。 |
| userFlowAttributeType | identityUserFlowAttributeType | 用户流属性的类型。 这是一个自动设置的只读属性。 根据属性的类型,此属性的值将为 builtIn、 custom或 required。 |
| DataType | identityUserFlowAttributeDataType | 用户流属性的数据类型。 在创建自定义用户流属性后,不能对此进行修改。 数据类型 支持 为: string 、 boolean 、 int64 、 stringCollection 、 dateTime。 |
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"@odata.type": "#microsoft.graph.identityUserFlowAttribute",
"id": "String (identifier)",
"displayName": "String",
"description": "String",
"userFlowAttributeType": "String",
"dataType": "String"
}
反馈
提交和查看相关反馈