Uses of Interface
com.sap.cds.services.request.ModifiableUserInfo
Packages that use ModifiableUserInfo
-
Uses of ModifiableUserInfo in com.sap.cds.services
Methods in com.sap.cds.services that return ModifiableUserInfoModifier and TypeMethodDescriptionCoreFactory.createUserInfo
(UserInfo userInfo) Creates aModifiableUserInfo
based on the passedUserInfo
. -
Uses of ModifiableUserInfo in com.sap.cds.services.request
Methods in com.sap.cds.services.request that return ModifiableUserInfoModifier and TypeMethodDescriptionAdds a role to the user.ModifiableUserInfo.addUnrestrictedAttribute
(String attribute) Deprecated.default ModifiableUserInfo
UserInfo.copy()
Creates aModifiableUserInfo
based on thisUserInfo
.static ModifiableUserInfo
UserInfo.create()
Creates aModifiableUserInfo
based on default values of a clearUserInfo
.ModifiableUserInfo.removeRole
(String role) Removes a role from the user.ModifiableUserInfo.removeUnrestrictedAttribute
(String attribute) Deprecated.ModifiableUserInfo.setAdditionalAttribute
(String name, Object value) Sets additional attributes.ModifiableUserInfo.setAdditionalAttributes
(Map<String, Object> additionalAttributes) Sets the additional attributes.ModifiableUserInfo.setAttributes
(Map<String, List<String>> attributes) Sets an attribute value of the user.ModifiableUserInfo.setAttributeValues
(String attribute, List<String> values) Sets the value list of an attribute of the user.Sets the ID of the user.ModifiableUserInfo.setIsAuthenticated
(boolean val) Specifies if the current user is an authenticated (i.e.ModifiableUserInfo.setIsInternalUser
(boolean val) Specifies if the current user is an internal user.ModifiableUserInfo.setIsSystemUser
(boolean val) Specifies if the current user is a system user.Sets the name of the user which is used for $user to uniquely identify.Sets the roles of the user.Sets the tenant of the user.ModifiableUserInfo.setUnrestrictedAttributes
(Set<String> attributes) Deprecated. -
Uses of ModifiableUserInfo in com.sap.cds.services.runtime
Method parameters in com.sap.cds.services.runtime with type arguments of type ModifiableUserInfoModifier and TypeMethodDescriptionRequestContextRunner.modifyUser
(Consumer<ModifiableUserInfo> contextUser) Opens aRequestContext
with an adaptedUserInfo
.