mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 05:17:22 +00:00
Added space and labels for code blocks
This commit is contained in:
parent
f87e98ca3b
commit
c45c47aacf
@ -49,36 +49,38 @@ Here is an example for setting the user right BackupFilesAndDirectories for Admi
|
||||
Here are examples of data fields. The encoded 0xF000 is the standard delimiter/separator.
|
||||
|
||||
- Grant a user right to Administrators group via SID:
|
||||
```
|
||||
```xml
|
||||
<Data>*S-1-5-32-544</Data>
|
||||
```
|
||||
|
||||
- Grant a user right to multiple groups (Administrators, Authenticated Users) via SID:
|
||||
```
|
||||
```xml
|
||||
<Data>*S-1-5-32-544*S-1-5-11</Data>
|
||||
```
|
||||
|
||||
- Grant a user right to multiple groups (Administrators, Authenticated Users) via a mix of SID and Strings:
|
||||
```
|
||||
```xml
|
||||
<Data>*S-1-5-32-544Authenticated Users</Data>
|
||||
```
|
||||
|
||||
- Grant a user right to multiple groups (Authenticated Users, Administrators) via strings:
|
||||
```
|
||||
```xml
|
||||
<Data>Authenticated UsersAdministrators</Data>
|
||||
```
|
||||
|
||||
- Empty input indicates that there are no users configured to have that user right:
|
||||
```
|
||||
```xml
|
||||
<Data></Data>
|
||||
```
|
||||
|
||||
If you use Intune custom profiles to assign UserRights policies, you must use the CDATA tag (`<![CDATA[...]]>`) to wrap the data fields. You can specify one or more user groups within the CDATA tag by using 0xF000 as the delimiter/separator.
|
||||
|
||||
> [!NOTE]
|
||||
> `` is the entity encoding of 0xF000.
|
||||
|
||||
For example, the following syntax grants user rights to Authenticated Users and Replicator user groups:
|
||||
```
|
||||
|
||||
```xml
|
||||
<![CDATA[Authenticated UsersReplicator]]>
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user