Authentication.getKeystoneUserWithToken {SciServer}R Documentation

Get user info.

Description

Returns the name/id for the user corresponding to the specified token.

Usage

Authentication.getKeystoneUserWithToken(token)

Arguments

token

Sciserver's authentication token for the user

Value

Returns a list with name/id of the user. Throws an exception if the HTTP request to the Authentication URL returns an error.

Author(s)

Gerard Lemson, Manuchehr Taghizadeh-Popp
Maintainer: Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>

References

http://www.sciserver.org
http://portal.sciserver.org/login-portal/
http://www.github.com/sciserver/SciScript-R

See Also

Authentication.getToken, Authentication.login, Authentication.setToken.

Examples

## Not run: user = Authentication.getKeystoneUserWithToken(Authentication.getToken())

[Package SciServer version 2.0.0 Index]