Share via


RSOP_Session class

Represents an RSoP session. There can be only one instance of this class per namespace; the instance contains data that is of interest to other instances in the namespace.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[AMENDMENT]
class RSOP_Session
{
  string   id;
  uint32   version = 0;
  string   targetName = ;
  string   SOM = ;
  string   SecurityGroups[];
  string   Site;
  uint32   flags = 0;
  datetime creationTime;
  uint32   ttlMinutes;
  boolean  slowLink;
};

Members

The RSOP_Session class has these types of members:

Properties

The RSOP_Session class has these properties.

creationTime

Data type: datetime

Access type: Read-only

Qualifiers: DisplayName ("Creation Time")

Time that the session or namespace was created.

flags

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Flags")

Reserved.

id

Data type: string

Access type: Read-only

Qualifiers: key, DisplayName ("ID")

Session ID. This value is a unique identifier for objects of this class.

SecurityGroups

Data type: string array

Access type: Read-only

Qualifiers: DisplayName ("Security Groups")

Array of new security groups for a user; each group is represented by a SID. For more information about security groups, see Filtering the Scope of a GPO and How Security Groups are Used in Access Control.

Site

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Site")

New site for the target computer.

slowLink

Data type: boolean

Access type: Read-only

Qualifiers: DisplayName ("Is Slow Link")

Flag that indicates whether the policy was applied over a slow link.

SOM

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("SOM")

Name of the new scope of management (SOM).

targetName

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Target Name")

Name of the target; the name can be a user or a computer.

ttlMinutes

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Time to Live")

The time-to-live value.

version

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Version")

Version number of the schema.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\RSOP\Computer, Root\RSOP\User
MOF
Rsop.mof
DLL
GPSvc.dll

See also

Group Policy Overview

Group Policy RSoP WMI Classes

RSOP_SOM