DirectoryUser (JavaScript™)
Represents a user entry in the server directory.
Use context.getUser()
to get a DirectoryUser
object
for the current user., that is, the authenticated user accessing the
server. Effectively the only use for the DirectoryUser
object
is to get information on the current user. Setting information here
has no effect on the server's directory.