profileCardProperty 资源类型
重要
Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
表示组织在 Microsoft 365 个人资料卡上显示共享人员体验的用户属性。
该属性可以是 Azure Active Directory (Azure AD) 内置属性(如 Alias or)或自定义 UserPrincipalName 属性。 对于自定义属性,管理员可以定义一个默认显示名称字符串和一组替代翻译,用于他们在组织中支持 en-us 的语言。
有关向组织的配置文件卡添加属性详细信息,请参阅 自定义配置文件卡片。
方法
| 方法 | 返回类型 | Description |
|---|---|---|
| List | profileCardProperty | 获取组织的 profileCardProperty 资源的集合。 |
| 创建 | profileCardProperty | 为组织 创建新的 profileCardProperty 资源。 |
| Get | profileCardProperty | 读取 profileCardProperty 资源的属性和关系,其中包含给定字段的 Microsoft 365 组织中存在的配置文件卡自定义项。 |
| 更新 | profileCardProperty | 更新 profileCardProperty 对象。 |
| 删除 | 无 | 删除 profileCardProperty 对象。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| 批注 | profileCardAnnotation 集合 | 允许管理员为目录属性设置自定义显示标签,并针对租户中的用户进行本地化。 |
| directoryPropertyName | String | 标识 获取、更新或删除操作中的 profileCardProperty 资源。 允许管理员在其租户内的 Microsoft 365 (Azure AD) 显示隐藏的 Azure Active Directory 属性。 存在此状态时,此字段中引用的 Azure AD 字段将在个人资料卡片的联系人窗格上对租户中的所有用户可见。 此字段允许的值是: UserPrincipalName , Fax , , , StreetAddress PostalCode StateOrProvince Alias CustomAttribute1 CustomAttribute2 CustomAttribute3 CustomAttribute4 CustomAttribute5 CustomAttribute6 CustomAttribute7 CustomAttribute8 CustomAttribute9 CustomAttribute10 CustomAttribute11 CustomAttribute12 CustomAttribute13 CustomAttribute14 CustomAttribute15 。 |
关系
无。
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"annotations": [
{
"displayName": "String",
"localizations": [
{
"languageTag": "String",
"displayName": "String"
}
]
}
],
"directoryPropertyName": "String"
}
反馈
提交和查看相关反馈