Skip to content

Latest commit

 

History

History
45 lines (25 loc) · 1000 Bytes

getUserInformation.md

File metadata and controls

45 lines (25 loc) · 1000 Bytes

spwsDocs


spws / getUserInformation

Function: getUserInformation()

getUserInformation(ID, __namedParameters): Promise<Operation>

Returns information about the specified user from the User Information List

Parameters

ID: string

The user ID

__namedParameters = {}

__namedParameters.webURL?: string = defaults.webURL

The SharePoint webURL

Returns

Promise<Operation>

Link

https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ff521587(v=office.14)

Example

// Get user from the current site
const res = await getUserInformation("1");

// Get user from another site
const res = await getUserInformation("1", { webURL: "/sites/other" });

Defined in

services/userGroup/getUserInformation.ts:32