ISessionServiceSetSessionCustomAttributes Method |
Namespace: Dundas.BI.AccountServices
void SetSessionCustomAttributes( Guid sessionId, IDictionary<Guid, CustomAttributeValue> attributeValues )
Exception | Condition |
---|---|
ArgumentException | sessionId is Empty. |
NoPrivilegeException | The caller does not have system administrator privileges. |
InvalidSessionException | The caller context is not associated with a valid session. |
attributeValues is a collection of CustomAttributeValue objects, keyed by attribute ID, which will be added to the specified session. To clear the value of an attribute, specify as the value for the dictionary entry corresponding to that attribute.
If the specified session was not found, this method will exit without error. If one of the specified attribute IDs does not correspond to a registered custom attribute, that value will be ignored.