@StableMinor(version="10.1", sinceVersion="8.0") @Path(value="/lumis/authentication/users") public class UserResource extends Object
Constructor and Description |
---|
UserResource() |
Modifier and Type | Method and Description |
---|---|
UserConfig |
getCurrentUser()
Returns the current logged in user.
|
@GET @Path(value="/current") @Produces(value="application/json") public UserConfig getCurrentUser() throws PortalException
{
"id":"00000000D00000000000000000000001",
"login":"admin",
"firstName":"Administrator",
"middleName":"",
"lastName":"",
"email":"",
"disabled":"false",
"channelId":"8A488ADB491A017201491AC3CB7F0393",
"lastLogin":
{
"iso":"2014-10-29T15:28:16.000-02:00",
"timeInMillis":1414603696000,
"formatted":"29/10/14 15:28"
},
"profileImageHref":"http://localhost:8080/portal/lumis/api/rest/lum-internal/users/00000000D00000000000000000000001/profileimage"
}
PortalException
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.