webAccount 资源类型
命名空间:microsoft.graph
重要
Microsoft Graph 中版本下的 /beta
API 可能会更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 在 v1.0 中是否可用,请使用 版本 选择器。
表示用户已指示他们使用或已添加到其 用户配置文件的 Web 帐户。
此资源类型继承自 itemFacet。
方法
方法 | 返回类型 | 说明 |
---|---|---|
列出 webAccounts | webAccount 集合 | 从 webAccounts 导航属性获取 webAccount 资源。 |
创建 webAccount | webAccount | 创建新的 webAccount 对象。 |
获取 webAccount | webAccount | 读取 WebAccount 对象的属性和关系。 |
更新 webAccount | webAccount | 更新 webAccount 对象的属性。 |
删除 webAccount | 无 | 删除 webAccount 对象。 |
属性
属性 | 类型 | 说明 |
---|---|---|
allowedAudiences | String | 能够查看实体中包含的值的访问群体。 继承自 itemFacet。 可取值为:me 、family 、contacts 、groupMembers 、organization 、federatedOrganizations 、everyone 、unknownFutureValue 。 |
createdBy | identitySet | 提供创建实体的用户和/或应用程序的标识符。 继承自 itemFacet。 |
createdDateTime | DateTimeOffset | 提供实体创建时间的 dateTimeOffset。 继承自 itemFacet。 |
说明 | String | 包含用户为所引用服务上的帐户提供的说明。 |
id | String | 用于单独寻址实体的标识符。 继承自 实体 |
推理 | inferenceData | 如果实体是通过创建或修改应用程序推断的,则包含推理详细信息。 继承自 itemFacet。 |
lastModifiedBy | identitySet | 提供上次修改实体的用户和/或应用程序的标识符。 继承自 itemFacet。 |
lastModifiedDateTime | DateTimeOffset | 提供实体创建时间的 dateTimeOffset。 继承自 itemFacet。 |
服务 | serviceInformation | 包含有关正在关联的服务的基本详细信息。 |
source | personDataSource | 如果从另一个服务同步,则值源自其中。 继承自 itemFacet。 |
statusMessage | String | 包含云服务的状态消息(如果已提供或已同步)。 |
userId | String | 为 Webaccount 显示的用户名。 |
webUrl | String | 包含指向云服务上用户配置文件的链接(如果存在)。 |
关系
无。
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"@odata.type": "#microsoft.graph.webAccount",
"id": "String (identifier)",
"allowedAudiences": "String",
"inference": {
"@odata.type": "microsoft.graph.inferenceData"
},
"createdDateTime": "String (timestamp)",
"createdBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"lastModifiedDateTime": "String (timestamp)",
"lastModifiedBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"source": {
"@odata.type": "microsoft.graph.personDataSource"
},
"description": "String",
"userId": "String",
"service": {
"@odata.type": "microsoft.graph.serviceInformation"
},
"statusMessage": "String",
"webUrl": "String"
}