|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUserMaint
This interface extends IUser and provides write access to
a user.
It provides methods to change the
user's attributes, to commit these changes to the user store or to roll them
back (i.e. discard them) if appropriate. It is intended for administration of
user profiles (including self-administration).
It does not cover account, password and authorization
management. The set-methods with boolean return values return true
if the new value is different from the previous value.
Calling set-methods with a value of
null effectively removes an attribute.
| Field Summary |
|---|
| Fields inherited from interface com.sap.security.api.IUser |
|---|
DEFAULT_ACCESSIBILITY_LEVEL, SCREENREADER_ACCESSIBILITY_LEVEL, VERSIONSTRING |
| Fields inherited from interface com.sap.security.api.IPrincipal |
|---|
BYTE_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 |
| Method Summary | |
|---|---|
void |
addToGroup(String uniqueIdOfGroup)
Deprecated. use IGroupFactory.addUserToGroup(String,String) instead |
void |
addToRole(String uniqueIdOfRole)
Deprecated. use IRoleFactory.addUserToRole(String, String) instead |
void |
removeFromGroup(String uniqueIdOfGroup)
Deprecated. use IGroupFactory.removeUserFromGroup(String, String) instead |
void |
removeFromRole(String uniqueIdOfRole)
Deprecated. use IRoleFactory.removeUserFromRole(String, String) instead |
void |
setAccessibilityLevel(int accessibilityLevel)
Set the user's accessibility level used for Screen Reader Support |
boolean |
setCellPhone(String cellphone)
Sets the user's default cellphone number. |
boolean |
setCity(String city)
Sets the user's city. |
boolean |
setCompany(String companyid)
Sets the unique ID of the user's company. |
boolean |
setCountry(String country)
Sets the ISO-3166 two-letter uppercase code of the country where the user lives. |
boolean |
setCurrency(String currency)
Sets the three letter uppercase code of the user's currency, e.g. |
boolean |
setDepartment(String department)
Sets the user's department. |
boolean |
setDisplayName(String displayName)
Sets the user's display name. |
boolean |
setEmail(String email)
Sets the user's default email address. |
boolean |
setFax(String fax)
Sets the user's default fax number. |
boolean |
setFirstName(String firstname)
Sets the user's first name. |
boolean |
setJobTitle(String jobtitle)
Sets the user's job title, e.g. |
boolean |
setLastName(String lastname)
Sets the user's last name. |
boolean |
setLocale(Locale locale)
Sets the user's Locale; this determines e.g. the language in which text is displayed to the user's and the style that numbers are formated. |
boolean |
setPersonID(String personid)
Sets the user's personID. |
boolean |
setSalutation(String salutation)
Sets the user's salutation. |
boolean |
setState(String state)
Sets the user's state or region. |
boolean |
setStreet(String street)
Sets the user's street. |
boolean |
setTelephone(String telephone)
Sets the user's default telephone number. |
boolean |
setTimeZone(TimeZone timezone)
Sets the user's time zone. |
boolean |
setTitle(String title)
Sets the user's academic title or title of nobility. |
boolean |
setZip(String zip)
Sets the zip code of the user's city. |
| Methods inherited from interface com.sap.security.api.IUser |
|---|
checkPermission, checkPermission, getAccessibilityLevel, getCellPhone, getCity, getCompany, getCountry, getCurrency, getDepartment, getEmail, getFax, getFirstName, getI18nFormatterFactory, getJobTitle, getLastName, getLocale, getParentGroups, getPersonID, getRoles, getSalutation, getState, getStreet, getTelephone, getTimeZone, getTitle, getTransientAttribute, getUid, getUniqueName, getUserAccounts, getUserAccountUniqueIDs, getUserFactory, getZip, hasPermission, hasPermission, isCompanyUser, isMemberOfGroup, isMemberOfRole, setTransientAttribute |
| Methods inherited from interface java.security.Principal |
|---|
equals, getName, hashCode, toString |
| Methods inherited from interface com.sap.security.api.IPrincipalMaint |
|---|
addAttributeValue, commit, isModified, removeAttributeValue, rollback, save, setAttribute, setBinaryAttribute |
| Methods inherited from interface com.sap.security.api.IPrincipal |
|---|
created, equals, getAttribute, getAttributeNames, getAttributeNamespaces, getAttributeType, getBinaryAttribute, getDisplayName, getMessages, getParents, getUniqueID, hashCode, isExistenceChecked, isMutable, lastModified, refresh |
| Method Detail |
|---|
boolean setTitle(String title)
title - String containing the user's titleboolean setSalutation(String salutation)
salutation - String containing the user's salutationboolean setJobTitle(String jobtitle)
jobtitle - String containing the user's jobtitleboolean setDepartment(String department)
department - String containing the user's departmentboolean setDisplayName(String displayName)
setDisplayName in interface IPrincipalMaintdisplayName - String containing the user's displayNameboolean setFirstName(String firstname)
firstname - String containing the user's firstnameboolean setLastName(String lastname)
lastname - String containing the user's lastnameboolean setStreet(String street)
street - String containing the user's streetboolean setCity(String city)
city - String containing the user's cityboolean setZip(String zip)
zip - String containing the user's zipboolean setState(String state)
state - String containing the user's stateboolean setCountry(String country)
NOTE that this is independent from the country available
via getCountry() of the user's Locale, since expatriate users
may not have their Locale's country set to the country where they
actually reside.
country - String containing the user's countryboolean setLocale(Locale locale)
locale - String containing the user's locale objectboolean setTimeZone(TimeZone timezone)
timezone - String containing the user's timezoneboolean setCurrency(String currency)
currency - String containing the user's currencyboolean setTelephone(String telephone)
telephone - String containing the user's telephoneboolean setCellPhone(String cellphone)
cellphone - String containing the user's cellphoneboolean setFax(String fax)
fax - String containing the user's faxboolean setEmail(String email)
email - String containing the user's emailboolean setPersonID(String personid)
personid - The new personID to set.boolean setCompany(String companyid)
companyid - String containing the user's companyid
void setAccessibilityLevel(int accessibilityLevel)
throws UMException
accessibilityLevel - String containing the user's accessibility level
Valid values are following constants
IUser.DEFAULT_ACCESSIBILITY_LEVEL or
IUser.SCREENREADER_ACCESSIBILITY_LEVEL
UMException
void addToGroup(String uniqueIdOfGroup)
throws UMException
IGroupFactory.addUserToGroup(String,String) instead
uniqueIdOfGroup - id of the group
UMException
void removeFromGroup(String uniqueIdOfGroup)
throws UMException
IGroupFactory.removeUserFromGroup(String, String) instead
uniqueIdOfGroup - id of the group
UMException
void addToRole(String uniqueIdOfRole)
throws UMException
IRoleFactory.addUserToRole(String, String) instead
uniqueIdOfRole - uniqueId of a role
UMException
void removeFromRole(String uniqueIdOfRole)
throws UMException
IRoleFactory.removeUserFromRole(String, String) instead
uniqueIdOfRole - uniqueId of a role
UMException| Access Rights |
|---|
| SC | DC |
|---|---|
[sap.com] ENGINEAPI
|
[sap.com] com.sap.security.api.sda
|
[sap.com] ENGFACADE
|
[sap.com] tc/je/usermanagement/api
|
[sap.com] CORE-TOOLS
|
[sap.com] com.sap.engine.client.lib
|
|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||