browserSharedCookie resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a session cookie for Internet Explorer mode that resides on a site list. Microsoft Edge and Internet Explorer processes use shared session cookies to allow a streamlined experience when performing tasks such as authentication. For more details, see Cookie sharing between Microsoft Edge and Internet Explorer.

Methods

Method Return type Description
List browserSharedCookie collection Get a list of the browserSharedCookie objects and their properties.
Create browserSharedCookie Create a new browserSharedCookie object in a browserSiteList.
Get browserSharedCookie Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode.
Update None Update the properties of a browserSharedCookie object.
Delete None Delete a browserSharedCookie from a browserSiteList.

Properties

Property Type Description
comment String The comment for the shared cookie.
createdDateTime DateTimeOffset The date and time when the shared cookie was created.
deletedDateTime DateTimeOffset The date and time when the shared cookie was deleted.
displayName String The name of the cookie.
history browserSharedCookieHistory collection The history of modifications applied to the cookie.
hostOnly Boolean Controls whether a cookie is a host-only or domain cookie.
hostOrDomain String The URL of the cookie.
id String The unique identifier for the cookie.
lastModifiedBy identitySet The user who last modified the cookie.
lastModifiedDateTime DateTimeOffset The date and time when the cookie was last modified.
path String The path of the cookie.
sourceEnvironment browserSharedCookieSourceEnvironment Specifies how the cookies are shared between Microsoft Edge and Internet Explorer. The possible values are: microsoftEdge, internetExplorer11, both, unknownFutureValue.
status browserSharedCookieStatus The status of the cookie. The possible values are: published, pendingAdd, pendingEdit, pendingDelete, unknownFutureValue.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.browserSharedCookie",
  "comment": "String",
  "createdDateTime": "String (timestamp)",
  "deletedDateTime": "String (timestamp)",
  "displayName": "String",
  "history": [
    {
      "@odata.type": "microsoft.graph.browserSharedCookieHistory"
    }
  ],
  "hostOnly": "Boolean",
  "hostOrDomain": "String",
  "id": "String (identifier)",
  "lastModifiedBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "lastModifiedDateTime": "String (timestamp)",
  "path": "String",
  "sourceEnvironment": "String",
  "status": "String"
}