我在SharePoint列表中有一个查找字段,该字段为Microsoft内部存在的用户提供(查找)ID。 proxy_pass http://backend-geodatenportal/kommunalportal$1$is_args$args;
与std::mutex m;
std::condition_variable c;
// Only ever read or write shared_state when the mutex is locked.
// Otherwise race conditions create a deadlock.
bool shared_state = false;
// Waiting thread.
void wait() {
std::unique_lock<std::mutex> l(m);
while(!shared_state) // Also handles spurious wake ups.
c.wait(l);
// shared_state is true, mutex is locked.
}
// Notifying thread.
void wait() {
{
std::unique_lock<std::mutex> l(m);
shared_state = true;
}
c.notify_one();
}
类似。我希望能够通过Microsoft Graph使用该id
来检索关联的成员。
我不知道SharePoint如何使用该ID来查找用户。
100
答案 0 :(得分:2)
查找字段中使用的ID来自SharePoint用户列表。 SharePoint用户列表不在Microsoft Graph中,而是您需要使用SharePoint REST API来获取用户信息:
https://contoso.sharepoint.com/sites/sitename/_api/web/GetUserById(lookupId)
此调用应返回UPN,您可以使用该UPN获得Microsoft Graph用户(如果需要)。