Jaa


RSOP_FolderRedirectionPolicySetting class

Provides information about a folder-redirection extension.

Note

Classes that derive from the RSOP_PolicySetting class must redefine both the id and the precedence properties to be keys.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[AMENDMENT]
class RSOP_FolderRedirectionPolicySetting : RSOP_PolicySetting
{
  string   id;
  uint32   precedence;
  string   name = "";
  string   GPOID = "";
  string   SOMID = "";
  datetime creationTime;
  string   redirectingGroup;
  string   resultantPath;
  uint32   installationType;
  string   securityGroups[];
  string   redirectedPaths[];
  boolean  grantType;
  boolean  moveType;
  uint32   policyRemoval;
  uint32   redirectionFlags;
  string   parentFolderId;
  uint32   primaryComputerEvaluation;
  uint32   configurationControl;
};

Members

The RSOP_FolderRedirectionPolicySetting class has these types of members:

Properties

The RSOP_FolderRedirectionPolicySetting class has these properties.

configurationControl

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Configuration Control")

Whether the configuration control is Group Policy or WMI.

GroupPolicy (0)

WMI (1)

Windows Server 2008 R2, Windows 7 and Windows Vista: This property is not available before Windows Server 2012 and Windows 8.

creationTime

Data type: datetime

Access type: Read-only

Time the policy object was created.

This property is inherited from the RSOP_PolicySetting class.

GPOID

Data type: string

Access type: Read-only

Identifies the GPO that contains the policy object. You can obtain this value from PGROUP_POLICY_OBJECT->lpDSPath. You must remove the prefix LDAP://CN=Machine from lpDSPath.

This property is inherited from the RSOP_PolicySetting class.

grantType

Data type: boolean

Access type: Read-only

Qualifiers: DisplayName ("grant Type")

Whether the user is granted exclusive access.

id

Data type: string

Access type: Read-only

Qualifiers: key, DisplayName ("ID")

Unique identifier for objects of this class.

This property is inherited from the RSOP_PolicySetting class.

installationType

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("installation Type")

Installation type.

This property can have one of the following values.

Basic (1)

Advanced (2)

moveType

Data type: boolean

Access type: Read-only

Qualifiers: DisplayName ("move Type")

Whether the contents of the local directory should be moved.

name

Data type: string

Access type: Read-only

User-friendly name of the policy object.

This property is inherited from the RSOP_PolicySetting class.

parentFolderId

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Parent Folder")

Parent Folder.

policyRemoval

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("policy Removal")

Action to take on policy removal.

This property can have one of the following values.

None (1)

The folder should remain in the new location.

Profile (2)

The folder should be redirected back to the user profile location.

precedence

Data type: uint32

Access type: Read-only

Qualifiers: key, DisplayName ("Precedence")

The order or precedence in which the policy object should be applied.

This property is inherited from the RSOP_PolicySetting class.

primaryComputerEvaluation

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Primary Computer Evaluation")

The result of the primary computer evaluation.

Is not primary computer (1)

Is primary computer (2)

Not evaluated because primary computer policy is not enabled (3)

Not evaluated due to user configured with roaming profile (4)

Windows Server 2008 R2, Windows 7 and Windows Vista: This property is not available before Windows Server 2012 and Windows 8.

redirectedPaths

Data type: string array

Access type: Read-only

Qualifiers: DisplayName ("redirected Paths")

Paths, represented by an array of redirection paths. This array is parallel to the securityGroups array, that is, each element in this array corresponds to an element in the securityGroups array. The result is that each security group is mapped to the path to which the group will be redirected.

redirectingGroup

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("redirecting Group")

The security group membership that caused redirection of the folder.

redirectionFlags

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Redirection Flags")

Contains all redirection flags.

resultantPath

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Resultant Path")

The path to which the folder has been redirected by this policy setting.

securityGroups

Data type: string array

Access type: Read-only

Qualifiers: DisplayName ("security Groups")

Groups, represented by an array of security groups. This array is parallel to the redirectedPaths array, that is, each element in this array corresponds to an element in the redirectedPaths array. The result is that each security group is mapped to the path to which the group will be redirected. For more information about security groups, see Filtering the Scope of a GPO and How Security Groups are Used in Access Control.

SOMID

Data type: string

Access type: Read-only

The scope of management (SOM) associated with the GPO that contains this policy object. You can obtain this value from PGROUP_POLICY_OBJECT->lpLink. You must remove the prefix "LDAP://" from lpLink.

This property is inherited from the RSOP_PolicySetting class.

Remarks

The RSOP_FolderRedirectionPolicySetting class is derived from RSOP_PolicySetting.

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_PolicySetting