SP.WorkManagement.OM.BaseSession object (sp.workmanagement)
Represents the base session to access work management tasks.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.WorkManagement.OM.BaseSession()
Members
The BaseSession object has the following members.
Constructor
The BaseSession object has the following constructor.
Constructor |
Description |
---|---|
Initializes a new instance of the BaseSession object. |
Methods
The BaseSession object has the following methods.
Method |
Description |
---|---|
Adds an attribute to the task. |
|
Starts a cache refresh job that will start farm level refresh jobs on the My farm. |
|
Starts the Exchange synchronization process. |
|
Creates a new personal task and then tries to promote it to the provider specified by the locationKey parameter. |
|
Creates a new task. |
|
Deletes a task. |
|
Gets the information for the task callout. |
|
Returns information about the state of the last refresh operation. |
|
Returns information about the latest task cache refresh. |
|
Returns the status of a refresh operation. |
|
Returns true if the synchronization process is in progress for the user; otherwise false. |
|
Marks a task as pinned and adds the task to the timeline. |
|
The promotePersonalTaskToProviderTaskInLocation method makes a copy of the specified task in the data source of the specified location and links it to the AWIOP representation. |
|
Gets information about a user’s task settings that is not specific to tasks themselves. |
|
Refreshes a single task. |
|
Removes an attribute from a task. |
|
Removes the pin from a task. |
|
Updates a field of the task with a string represented in the locale of the protocol client. |
Properties
The BaseSession object has the following properties.