WindowsDesktop

This class represents a Windows desktop right.

Syntax

public interface IWindowsDesktop:IRight

The WindowsDesktop class provides the following methods:

This method Does this

Commit

Commits changes in the right to Active Directory.

(Inherited from Right.)

Delete

Removes the right.

(Inherited from Right.)

Properties

The WindowsDesktop class provides the following properties:

This property Does this

Description

Gets or sets the description of the right.

(Inherited from Right.)

IsReadable

Indicates whether the right is readable.

(Inherited from Right.)

IsWritable

Indicates whether the right is writable.

(Inherited from Right.)

Name

Gets or sets the name of the right.

(Inherited from Right.)

AddLocalGroupPartialProfile

Gets or sets the priority of this right.

RequirePassword

Gets or sets whether the user’s password is required when this right is used.

RunAs

Gets or sets the SID for the run-as user or an SID for the users assigned the right (VBScript).

RunAsList

Gets or sets the SID for the run-as user or a list of SIDs for the users assigned the right (.NET).

RunAsType

Gets or sets the run-as type for the right.

Zone

Gets the zone this right belongs to.

(Inherited from Right.)

Discussion

A Windows desktop right provides a complete desktop that behaves as if the user had logged in as specific privileged user with the privileges of another user or as a member of an Active Directory or built-in group. For example, you can use a Windows desktop right to give a standard Windows user elevated privileges to run local applications as a member of the built‑in Administrators group.