Skip to main content

User

A sub namespace of Document, exclusive for user operations


note

The same methods that are presented in the Document Introduction but do not take the first param documentName, because you're already in a User document

Get Custom Fields

Get Lookup

Set Custom Fields

Update


getImages

Description

This method can be used to get users image url.

Method(s)

1   declare function getImages(ids: string[]): string[];
ParameterTypeRequiredDefaultsDescription
idsstring[]trueArray of user ids

Basic Usage

SW.Document.User.getImages(["f6671567-67b2-430c-bf04-dc7a41e99395"]);