AdminEventReceiver.OnAdSyncGroupsSynchronized method
A local post-event handler for the Admin – AdSyncGroupsSynchronized event, which occurs after 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 OnAdSyncGroupsSynchronized ( _
contextInfo As PSContextInfo, _
e As AdSyncGroupsSynchronizedEventArgs _
)
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim e As AdSyncGroupsSynchronizedEventArgs
instance.OnAdSyncGroupsSynchronized(contextInfo, _
e)
public virtual void OnAdSyncGroupsSynchronized(
PSContextInfo contextInfo,
AdSyncGroupsSynchronizedEventArgs e
)
Parameters
contextInfo
Type: Microsoft.Office.Project.Server.Library.PSContextInfoContains the Project Server context information.
e
Type: Microsoft.Office.Project.Server.Events.AdSyncGroupsSynchronizedEventArgsThe data for the event.
Remarks
The SetActiveDirectorySyncGroupSettings method triggers the AdSyncGroupsSynchronized event.