spws • Docs
spws / getUserInformation
getUserInformation(
ID
,__namedParameters
):Promise
<Operation
>
Returns information about the specified user from the User Information List
• ID: string
The user ID
• __namedParameters = {}
• __namedParameters.webURL?: string
= defaults.webURL
The SharePoint webURL
Promise
<Operation
>
// Get user from the current site
const res = await getUserInformation("1");
// Get user from another site
const res = await getUserInformation("1", { webURL: "/sites/other" });