IAccountServiceWriteUserDataValue(Guid, String, String) Method |
Writes a tenant-agnostic user data value for the specified account.
Namespace: Dundas.BI.AccountServicesAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxvoid WriteUserDataValue(
Guid accountId,
string key,
string? value
)
Sub WriteUserDataValue (
accountId As Guid,
key As String,
value As String
)
void WriteUserDataValue(
Guid accountId,
String^ key,
String^ value
)
abstract WriteUserDataValue :
accountId : Guid *
key : string *
value : string -> unit Parameters
- accountId Guid
- The ID of the account.
- key String
- The case-sensitive data key.
- value String
-
The data value, or to indicate that the item with the specified key should be removed from the user data
Exceptions| Exception | Condition |
|---|
| ArgumentException | accountId is Empty. -or- key is , empty, or contains only whitespace. |
| NotFoundException | An account with the specified ID was not found. |
| InvalidOperationException |
The account corresponding to the specified ID is an External or Windows Group account.
|
| NoPrivilegeException | accountId does not correspond to the account associated with the caller's session. -or- The caller does not have system administration privileges. -or- The account is associated with a tenant, and the caller does not have administration privileges for that tenant. |
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also