2.5.4 RAP Opcodes

The following tables summarize Remote Administration Protocol command operation codes.

Server Commands

Command

Opcode

NetServerGetInfo

0x000D

NetServerEnum2

0x0068

NetServerEnum3

0x00D7

Share Commands

Command

Opcode

NetShareEnum

0x0000

NetShareGetInfo

0x0001

Print Commands

Command

Opcode

NetPrintQEnum

0x0045

NetPrintQGetInfo

0x0046

NetPrintJobSetInfo

0x0093

NetPrintJobGetInfo

0x004D

NetPrintJobPause

0x0052

NetPrintJobContinue

0x0053

NetPrintJobDelete

0x0051

User Commands

Command

Opcode

NetUserPasswordSet2

0x0073

NetUserGetInfo

0x0038

Time Commands

The NetRemoteTOD command has an opcode of 0x005B.

Workstation Commands

Command

Opcode

NetWkstaGetinfo

0x003F

NetWkstaUserLogon

0x0084

NetWkstaUserLogoff

0x0085