Added space and labels for code blocks

This commit is contained in:
Gary Moore 2020-06-22 13:26:54 -07:00 committed by GitHub
parent f87e98ca3b
commit c45c47aacf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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&#xF000;*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&#xF000;Authenticated Users</Data>
```
- Grant a user right to multiple groups (Authenticated Users, Administrators) via strings:
```
```xml
<Data>Authenticated Users&#xF000;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]
> `&#xF000;` 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&#xF000;Replicator]]>
```