| Package | Description |
|---|---|
| com.sap.cloud.sdk.cloudplatform.security.user |
| Modifier and Type | Method and Description |
|---|---|
User |
AbstractUserFacade.getCurrentUser()
Returns the current
User. |
static User |
UserAccessor.getCurrentUser()
Returns the current
User. |
User |
UserFacade.getCurrentUser()
Returns the current
User. |
Optional<User> |
AbstractUserFacade.getCurrentUserIfAuthenticated()
Returns the current
User, if authenticated. |
static Optional<User> |
UserAccessor.getCurrentUserIfAuthenticated()
Returns the current
User, if authenticated. |
Optional<User> |
UserFacade.getCurrentUserIfAuthenticated()
Returns the current
User, if authenticated. |
static Optional<User> |
UserAccessor.getUserByName(String name)
Returns a
User by its name, if it exists. |
Optional<User> |
UserFacade.getUserByName(String name)
Returns a
User by its name, if it exists. |
Optional<User> |
UserFacade.resolveCurrentUser()
Resolves the current
User using the platform-specific lookup. |
Copyright © 2020 SAP SE. All rights reserved.