IAccountServiceRefreshAccountPropertiesFromActiveDirectory Method

Refreshes the values of account properties from Active Directory (e.g. email address, display name).

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.2.0.1000)
Syntax
bool RefreshAccountPropertiesFromActiveDirectory(
	Guid accountId
)

Parameters

accountId
Type: SystemGuid
The account ID.

Return Value

Type: Boolean
if one or more property values were updated; otherwise, .
Exceptions
ExceptionCondition
ArgumentExceptionaccountId is Empty.
InvalidOperationExceptionThe specified account is not a Windows account.
NotSupportedExceptionThe accounts provider does not support modify operations.
NotFoundExceptionThe account with the specified ID does not exist.
ActiveDirectoryExceptionThere was a problem querying Active Directory.
NoPrivilegeExceptionThe caller does not have system administration privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also