White Papers

100 Version 1.3.0
ANNEX A
1554
(Informative)
1555
1556
Privilege Information
1557
The following annex describes the mapping for iDRAC privileges. The integer value returned for the
1558
privilige represents a bit mask, where each bit represents a specific privilege. If a particular bit is set, then
1559
the corresponding privilege exists. Table represents the bitmask mapping to the iDRAC privileges.
1560
Table 107 Privilege Bit Mask
1561
Bit
Privilege
1
Login
2
Configure
3
Configure Users
4
Logs
5
System Control
6
Access Virtual Console
7
Access Virtual Media
8
System Operations
9
Debug
For example, a privilige value equal to decimal 91 can be arithmetically decoded into the appropriate
1562
privileges:
1563
91 mod 2 = 1, then Login privilege exists.
1564
91 div 2 = 45, 45 mod 2 = 1, then Configure privilege exists .
1565
45 div 2 = 22, 22 mod 2 = 0, then Configure Users privilege does not exist.
1566
22 div 2 = 11, 11 mod 2 = 1, then Logs privilege exists.
1567
11 div 2 = 5, 5 mod 2 = 1, then System Control privilege exists.
1568
5 div 2 = 2, 2 mod 2 = 0, then Access Virtual Console privilege does not exist.
1569
2 div 2 = 1, 1 mod 2 = 1, then Access Virtual Media privilege exists.
1570
The same privilege value of decimal 91 can be decoded through binary operations:
1571
91 and 1 = 1, then Login privilege exists.
1572
91 and 2 = 2, then Configure privilege exists.
1573
91 and 4 = 0, then Configure Users privilege does not exist.
1574
91 and 8 = 8, then Logs privilege exists.
1575
91 and 16 =16, then System Control privilege exists.
1576
91 and 32 = 0, then Access Virtual Console privilege does not exists.
1577
91 and 64 = 64, then Access Virtual Media privilege exists.
1578
1579