SessionEnvironment Structure

Use the SessionEnvironment structure to return environment information for the current session.

The SessionEnvironment structure is used in the SAWSessionService Service.

SessionEnvironment Structure Fields

Fields Description

String userName

Specifies the name of the current user.

ItemInfo homeDirectory

Specifies the full path to the user's home directory in the catalog. For example, /users/<user login ID>.

ItemInfo[] SharedDirectories

Specifies the full paths to shared directories to which the current user has at least read access.

Note:

By default, only administrators are allowed to list direct descendents of the "/shared" directory. Retrieving the SessionEnvironment object is the only way to enable users to navigate its shared area.