AdminEventReceiver.OnAdSyncGroupSynchronizing method
A local pre-event handler for the Admin – AdSyncGroupSynchronizing event, which occurs before Project Server synchronizes a specified Active Directory group in Project Web App.
Namespace: Microsoft.Office.Project.Server.Events
Assembly: Microsoft.Office.Project.Server.Events.Receivers (in Microsoft.Office.Project.Server.Events.Receivers.dll)
Syntax
'Declaration
Public Overridable Sub OnAdSyncGroupSynchronizing ( _
contextInfo As PSContextInfo, _
e As AdSyncGroupSynchronizingEventArgs _
)
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim e As AdSyncGroupSynchronizingEventArgs
instance.OnAdSyncGroupSynchronizing(contextInfo, _
e)
public virtual void OnAdSyncGroupSynchronizing(
PSContextInfo contextInfo,
AdSyncGroupSynchronizingEventArgs e
)
Parameters
contextInfo
Type: Microsoft.Office.Project.Server.Library.PSContextInfoContains the Project Server context information.
e
Type: Microsoft.Office.Project.Server.Events.AdSyncGroupSynchronizingEventArgsThe data for the event.
Remarks
The SetActiveDirectorySyncGroupSettings method triggers the AdSyncGroupSynchronizing event.