public class ModifyUserOp extends Object implements MessageOperation
SAP CC user already created in the system.
You can modify the password or the list of permissions (see roles).
If the advanced password management function is enabled, aInvalidPasswordException
is thrown if the password of the user is modified with an incorrect value regarding to the security requirements. ModifyUserResult The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="modifyUser">
<xs:complexType>
<xs:sequence>
<xs:element ref="user" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
You can send this operation request in HCI messages to the following final target types of instances in the connected SAP CC system:
| Edition | Final Target Instances | |||||
| rater | updater | guider | bulkLoader | taxer | dispatcher | |
| charge | No | Yes | No | No | No | No |
This operation is audited as part of the audit domain TECHNICAL
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME
The node tag name for this operation
|
| Constructor and Description |
|---|
ModifyUserOp() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
String |
getName()
Returns the name of the operation, that is "modifyUser"
|
UserModel |
getUser()
Gets the new user definition to sent
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setUser(UserModel userDef)
Sets the new user definition
|
public static final String OPERATION_NAME
public String getName()
getName in interface MessageOperationpublic UserModel getUser()
public void setUser(UserModel userDef)
userDef - the new user definitionpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into