Open this page in the API Guide

IAccountService.RefreshAccountPropertiesFromActiveDirectory 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 (25.1.0.1000)
Syntax
bool RefreshAccountPropertiesFromActiveDirectory(
	Guid accountId
)

Parameters

accountId
Type: System.Guid
The account ID.

Return Value

Type: Boolean
true if one or more property values were updated; otherwise, false.
Exceptions
ExceptionCondition
ArgumentExceptionaccountId is Empty.
InvalidOperationExceptionThe specified account is not a Windows account.
NotSupportedExceptionThe accounts provider does not support modify operations.
NotFoundExceptionAn account with the specified ID does was not found.
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