public class User extends Object
Inside the script, an instance of this class, containing the data of the user that the script will be run on, will be provided automatically and can be accessed as a variable named user
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
Object |
getUserDataAttributeValue(String attributeURI)
To get the value of a user data attribute by attribute URI.
|
Object |
getUserDataAttributeValue1(String attributeURI)
To get the value of a user data attribute by attribute URI.
|
String |
getUserRelationAttributeErpId(String attributeURI)
To get the ERPID of a user relation attribute by attribute URI.
|
String |
getUserRelationAttributeObjectId(String attributeURI)
To get the object Id of a user relation attribute by attribute URI.
|
String |
getUserRelationAttributeObjectName(String attributeURI)
To get the object name of a user relation attribute by attribute URI.
|
String |
getuserRelationAttributeURI(String attributeURI)
To get the URI of a user relation attribute by attribute URI.
|
String |
getUserURI()
Retrieves the URI of this User
|
User |
setUserDataAttribute(String attributeURI,
Object value)
To set a value for the user data attribute.
|
User |
setUserRelationAttribute(String attributeURI,
String valueURI)
To set a value for the user relation attribute.
|
public Object getUserDataAttributeValue(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the user data attribute.IMCException
public Object getUserDataAttributeValue1(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the user data attribute.IMCException
public String getUserRelationAttributeErpId(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the quote relation attribute.IMCException
public String getUserRelationAttributeObjectId(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the user relation attribute.IMCException
public String getUserRelationAttributeObjectName(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the user relation attribute.IMCException
public String getuserRelationAttributeURI(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the user relation attribute.IMCException
public String getUserURI()
public User setUserDataAttribute(String attributeURI, Object value) throws IMCException
attributeURI
- as String. The URI of the user data attribute.value
- as Object. The value for the user data attribute.User
instance.IMCException
- the platform exceptionpublic User setUserRelationAttribute(String attributeURI, String valueURI) throws IMCException
attributeURI
- as String. The URI of the user relation attribute.valueURI
- as Object. The value for the user relation attribute.User
instance.IMCException
- the platform exception