Skip to content

Commit c3b1126

Browse files
committed
Fix GitHub issue
1 parent 23b68db commit c3b1126

File tree

1 file changed

+3
-3
lines changed
  • powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Utility/getGlobalContext

1 file changed

+3
-3
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Utility/getGlobalContext/userSettings.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ On success, returns a promise object containing the values specified in the desc
187187

188188
### Example
189189

190-
```
190+
```javascript
191191
userSettings
192192
.getSecurityRolePrivilegesInfo()
193193
.then(function success(rolePrivileges) {
@@ -198,8 +198,8 @@ userSettings
198198
var guid = privilegeGuids[0];
199199
console.log("Privilege Id: " + privilege[guid].id);
200200
console.log("Privilege Name: " + privilege[guid].privilegeName);
201-
console.log("Privilege Business Unit Id: " + privilege[guid].businessUnitId);
202-
console.log("Privilege depth: " + privilege[guid].depth);
201+
console.log("Privilege Business Unit Id: " + rolePrivileges[guid].businessUnitId);
202+
console.log("Privilege depth: " + rolePrivileges[guid].depth);
203203
});
204204
```
205205

0 commit comments

Comments
 (0)