AdminEventReceiver.OnAdSyncGroupsSynchronizingRemote method
A remote pre-event receiver 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 Function OnAdSyncGroupsSynchronizingRemote ( _
contextInfo As PSContextInfo, _
eventHandlerUid As Guid, _
e As AdSyncGroupsSynchronizingEventArgs _
) As AdSyncGroupsSynchronizingEventArgs
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim eventHandlerUid As Guid
Dim e As AdSyncGroupsSynchronizingEventArgs
Dim returnValue As AdSyncGroupsSynchronizingEventArgs
returnValue = instance.OnAdSyncGroupsSynchronizingRemote(contextInfo, _
eventHandlerUid, e)
public virtual AdSyncGroupsSynchronizingEventArgs OnAdSyncGroupsSynchronizingRemote(
PSContextInfo contextInfo,
Guid eventHandlerUid,
AdSyncGroupsSynchronizingEventArgs e
)
Parameters
contextInfo
Type: Microsoft.Office.Project.Server.Library.PSContextInfoContains the Project Server context information.
eventHandlerUid
Type: System.GuidThe GUID of the remote event receiver.
e
Type: Microsoft.Office.Project.Server.Events.AdSyncGroupsSynchronizingEventArgsThe data for the event.
Return value
Type: Microsoft.Office.Project.Server.Events.AdSyncGroupsSynchronizingEventArgs
Implements
Remarks
The SetActiveDirectorySyncGroupSettings method triggers the AdSyncGroupsSynchronizing event. The CSOM in Project Server 2013 does not include an equivalent Admin method.