Get User Name, Credential

DESCRIPTION:

Get the user name and credentials for the current user.

USAGE:

spserver.user.name()
spserver.user.credential()
spserver.set.user.credential(credential)

REQUIRED ARGUMENTS:

credential
user credential string.

VALUE:

The user name or credential as a string.

DETAILS:

Whenever S-PLUS code is executed on the Spotfire S+ Server, it is executed for a particular user credential initially specified by the client request. spserver.user.name returns the original user name. spserver.user.credential returns the current credential string. spserver.set.user.credential sets the credential string to be used for future WebDAV operations.

EXAMPLES:

spserver.user.name()