C# Class Rock.Jobs.GroupSync

Inheritance: IJob
Mostra file Open project: SparkDevNetwork/Rock

Public Methods

Method Description
Execute ( IJobExecutionContext context ) : void

Job that will sync groups. Called by the IScheduler when a ITrigger fires that is associated with the IJob.

GroupSync ( ) : System

Empty constructor for job initialization

Jobs require a public empty constructor so that the scheduler can instantiate the class whenever it needs.

Private Methods

Method Description
SendExitEmail ( int systemEmailId, Person recipient, Group syncGroup ) : void

Sends the exit email.

SendWelcomeEmail ( int systemEmailId, int personId, Group syncGroup, bool createLogin, bool requirePasswordReset ) : void

Sends the welcome email.

Method Details

Execute() public method

Job that will sync groups. Called by the IScheduler when a ITrigger fires that is associated with the IJob.
public Execute ( IJobExecutionContext context ) : void
context IJobExecutionContext
return void

GroupSync() public method

Empty constructor for job initialization

Jobs require a public empty constructor so that the scheduler can instantiate the class whenever it needs.

public GroupSync ( ) : System
return System