Principal 要素の属性、子要素、シーケンス情報を定義します。
<xs:complexType name="principalType">
<xs:all>
<xs:element name="UserId"
type="nonEmptyString"
minOccurs="0"
/>
<xs:element name="LogonType"
type="logonType"
minOccurs="0"
maxOccurs="1"
/>
<xs:element name="GroupId"
type="nonEmptyString"
minOccurs="0"
/>
<xs:element name="DisplayName"
type="string"
minOccurs="0"
/>
<xs:element name="RunLevel"
type="runLevelType"
minOccurs="0"
/>
<xs:element name="ProcessTokenSidType"
type="processTokenSidType"
minOccurs="0"
maxOccurs="1"
/>
<xs:element name="RequiredPrivileges"
type="requiredPrivilegesType"
minOccurs="0"
/>
</xs:all>
<xs:attribute name="id"
type="ID"
use="optional"
/>
</xs:complexType>
子要素
| 要素 | Type | 説明 |
|---|---|---|
| DisplayName | string | タスク スケジューラ のユーザー インターフェイス (UI) に表示されるプリンシパルの名前を指定します。 |
| GroupId | nonEmptyString | プリンシパルに関連付けられているタスクを実行するために必要なユーザー グループの識別子を指定します。 |
| LogonType | logonType | プリンシパルに関連付けられているタスクを実行するために必要なセキュリティ ログオン 方法を指定します。 |
| ProcessTokenSidType | processTokenSidType | タスクで使用できるプロセス セキュリティ識別子 (SID) の種類を指定します。 |
| RequiredPrivileges | requiredPrivilegesType | タスクを実行するために必要な特権を指定します。 |
| ランレベル | runLevelType | タスクを実行するアクセス許可レベルを指定します。 |
| Userid | nonEmptyString | プリンシパルに関連付けられているタスクを実行するために必要なユーザー識別子を指定します。 |
属性
| 名前 | 型 | 説明 |
|---|---|---|
| id | id | プリンシパルの識別子を指定します。 |
要件
| 要件 | 値 |
|---|---|
| サポートされている最小のクライアント |
Windows 7 [デスクトップ アプリのみ] |
| サポートされている最小のサーバー |
Windows Server 2008 R2 [デスクトップ アプリのみ] |