White Papers

80 Version 1.2.0
ANNEX A 1234
(Informative) 1235
1236
Privilege Information 1237
The following annex describes the mapping for iDRAC privileges. The integer value returned for the 1238
privilige represents a bit mask, where each bit represents a specific privilege. If a particular bit is set, then 1239
the corresponding privilege exists. Table 104 represents the bitmask mapping to the iDRAC privileges. 1240
Table 104Privilege Bit Mask 1241
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 1242
privileges: 1243
91 mod 2 = 1, then Login privilege exists. 1244
91 div 2 = 45, 45 mod 2 = 1, then Configure privilege exists . 1245
45 div 2 = 22, 22 mod 2 = 0, then Configure Users privilege does not exist. 1246
22 div 2 = 11, 11 mod 2 = 1, then Logs privilege exists. 1247
11 div 2 = 5, 5 mod 2 = 1, then System Control privilege exists. 1248
5 div 2 = 2, 2 mod 2 = 0, then Access Virtual Console privilege does not exist. 1249
2 div 2 = 1, 1 mod 2 = 1, then Access Virtual Media privilege exists. 1250
The same privilege value of decimal 91 can be decoded through binary operations: 1251
91 and 1 = 1, then Login privilege exists. 1252
91 and 2 = 2, then Configure privilege exists. 1253
91 and 4 = 0, then Configure Users privilege does not exist. 1254
91 and 8 = 8, then Logs privilege exists. 1255
91 and 16 =16, then System Control privilege exists. 1256
91 and 32 = 0, then Access Virtual Console privilege does not exists. 1257
91 and 64 = 64, then Access Virtual Media privilege exists. 1258
1259
1260
1261