public interface IUserContext
extends com.sap.security.api.IUser
It allows a Portal component to access users specific resources available for it. The UserContext acts a wrapper for the true User Object of the Portal.
DEFAULT_ACCESSIBILITY_LEVEL, SCREENREADER_ACCESSIBILITY_LEVELBYTE_TYPE, CREATED_BY, DATASOURCE, DEFAULT_NAMESPACE, DEFAULT_RELATION_NAMESPACE, DESCRIPTION, DISPLAYNAME, LAST_MODIFIED_BY, PRINCIPAL_CREATION_DATE, PRINCIPAL_MODIFY_DATE, PRINCIPAL_RELATION_MEMBER_ATTRIBUTE, PRINCIPAL_RELATION_PARENT_ATTRIBUTE, STRING_TYPE, TRANSIENT_NAMESPACE, UNIQUE_NAME| Modifier and Type | Method and Description |
|---|---|
String |
getLogonUid()
Gets the logon id of this user.
|
Object |
getUser()
Deprecated.
this object itself is a user oject.
|
String |
getUserId()
Deprecated.
use getLogonUid()
|
boolean |
isAdmin()
Deprecated.
this object itself is a user oject.
|
boolean |
isAuthenticated()
Return true if the user is authenticated in the User Management Service.
|
checkPermission, checkPermission, getAccessibilityLevel, getCellPhone, getCity, getCompany, getCountry, getCurrency, getDepartment, getEmail, getFax, getFirstName, getI18nFormatterFactory, getJobTitle, getLastName, getLocale, getParentGroups, getParentGroups, getPersonID, getPhoto, getRoles, getRoles, getSalutation, getState, getStreet, getTelephone, getTimeZone, getTitle, getTransientAttribute, getUid, getUniqueName, getUserAccounts, getUserAccountUniqueIDs, getUserFactory, getZip, hasPermission, hasPermission, isCompanyUser, isMemberOfGroup, isMemberOfRole, setTransientAttributeString getUserId()
String getLogonUid()
boolean isAuthenticated()
boolean isAdmin()
Object getUser()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice