IAccountServiceGetUserData Method (Guid, NullableGuid) |
Gets the tenant-specific user data for the specified account.
Namespace:
Dundas.BI.AccountServices
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax IDictionary<string, string> GetUserData(
Guid accountId,
Guid? tenantId
)
Function GetUserData (
accountId As Guid,
tenantId As Guid?
) As IDictionary(Of String, String)
IDictionary<String^, String^>^ GetUserData(
Guid accountId,
Nullable<Guid> tenantId
)
abstract GetUserData :
accountId : Guid *
tenantId : Nullable<Guid> -> IDictionary<string, string>
Parameters
- accountId
- Type: SystemGuid
The ID of the account. - tenantId
- Type: SystemNullableGuid
The ID of the tenant.
Return Value
Type:
IDictionaryString,
StringThe user data for the specified account in the context of the specified tenant.
Exceptions Exception | Condition |
---|
ArgumentException | accountId or tenantId is Empty. |
NotFoundException | The account or tenant 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. -or- The specified account is not a member of the specified tenant. |
InvalidSessionException | The caller context is not associated with a valid session. |
Remarks You may modify the returned dictionary without any side-effects.
See Also