为什么要“ Microsoft.graph.user.additionaldata”属性包含经理信息?
在Microsoft.graph.user对象中,有一个名为“额外数据”的字段。 从告诉记录是否是三角记录到存储管理器信息,看来这可以容纳许多值。
在这种情况下,它包含有关用户经理的信息。 看起来它可以保存多个记录,因此我问从该属性获取数据的最佳方法是什么,以确保我获得它可能拥有的所有值。
我也不确定为什么经理信息在附加属性中而不是在Manager属性中。
Within the Microsoft.Graph.User object there is a field called "AdditionalData".
It seems this can hold many values, from telling if a record is a delta record to storing manager information.
In this instance, it holds information on a users manager.
It looks like it can hold multiple records however, so I am asking what is the best way to get data from this property, to ensure I get all values it might have.
I am also unsure why manager information is in the AdditionalData property and not in the Manager property.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,您是正确的
附加数据
可能会保存多个记录,您可以向用户添加额外的记录,这些记录可以根据您的自定义保存任何信息。您可以使用OpenXtension Trick将多个值添加到额外的Data中,
就是添加这样的扩展名
,然后像这样检索它们。
参考:针对用户
Yes you are correct
AdditionalData
may hold multiple record,You can add additionalData to your user that can hold any information based on your customization.you can add the multiple value to additionalData using Openxtension
Trick is to add the extensions like this
And then retrieve them like this.
Reference : Azure AD GraphServiceClient can't set AdditionalData against User
“附加数据”属性仅在进行Delta查询时才保留Manager信息,如果我们进行常规查询,则必须使用扩展属性来获取经理。
我们目前避免出于时间的利益而避免使用三角洲查询,但可能会在另一点回到它。
谢谢大家。
The "Additional Data" property only holds manager info if we do a delta query, if we do a regular query, we have to use extended properties to get the manager.
We are avoiding delta query for the moment in the interests of time but might come back to it at another point.
Thanks all.