GroupId (principalType) Element
Specifies the identifier of the user group required to run those tasks associated with the principal.
<xs:element name="GroupId"
type="nonEmptyString"
/>
The GroupId element is defined by the principalType complex type.
Parent element
Element | Derived from | Description |
---|---|---|
Principal | principalType | Specifies the security credentials for a principal. |
Remarks
You cannot specify a group identifier and a user identifier at the same time. Specify either the UserId or GroupId elements, but not both.
For script development, the group identifier of the principal is specified using the Principal.GroupId property.
For C++ development, the group identifier of the principal is specified using the IPrincipal::GroupId property.
Examples
For a complete example of the XML for a task that uses this element, see Logon Trigger Example (XML).
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για