AdminEventReceiver.OnAdSyncGroupsSynchronizing method
A local pre-event handler for the Admin – AdSyncGroupsSynchronizing event, which occurs before Project Server synchronizes the Active Directory groups 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 OnAdSyncGroupsSynchronizing ( _
contextInfo As PSContextInfo, _
e As AdSyncGroupsSynchronizingEventArgs _
)
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim e As AdSyncGroupsSynchronizingEventArgs
instance.OnAdSyncGroupsSynchronizing(contextInfo, _
e)
public virtual void OnAdSyncGroupsSynchronizing(
PSContextInfo contextInfo,
AdSyncGroupsSynchronizingEventArgs e
)
Parameters
contextInfo
Type: Microsoft.Office.Project.Server.Library.PSContextInfoContains the Project Server context information.
e
Type: Microsoft.Office.Project.Server.Events.AdSyncGroupsSynchronizingEventArgsThe data for the event.
Remarks
The SetActiveDirectorySyncGroupSettings method triggers the AdSyncGroupsSynchronizing event.