| rpNoCallback = &H1 | 1 | The user has no call-back privilege. |
| rpAdminSetCallback = &H2 | 2 | The user account is configured to have the administrator set the call-back number. |
| rpCallerSetCallback = &H4 | 4 | The remote user can specify a call-back phone number when dialing in. |
| rpCallbackType = &H7 | 7 | Mask to identify the type of call-back privilege provided to the user. |
| rpDialinPrivilege = &H8 | 8 | The user has permission to dial in to this server. |
'RasPrivileges - begin Public Const rpNoCallback = &H1 'The user has no call-back privilege. Public Const rpAdminSetCallback = &H2 'The user account is configured to have the administrator set the call-back number. Public Const rpCallerSetCallback = &H4 'The remote user can specify a call-back phone number when dialing in. Public Const rpCallbackType = &H7 'Mask to identify the type of call-back privilege provided to the user. Public Const rpDialinPrivilege = &H8 'The user has permission to dial in to this server. 'RasPrivileges - end
'RasPrivileges - begin Public Const rpNoCallback As Long = &H1 'The user has no call-back privilege. Public Const rpAdminSetCallback As Long = &H2 'The user account is configured to have the administrator set the call-back number. Public Const rpCallerSetCallback As Long = &H4 'The remote user can specify a call-back phone number when dialing in. Public Const rpCallbackType As Long = &H7 'Mask to identify the type of call-back privilege provided to the user. Public Const rpDialinPrivilege As Long = &H8 'The user has permission to dial in to this server. 'RasPrivileges - end
Public Enum RasPrivileges rpNoCallback = &H1 'The user has no call-back privilege. rpAdminSetCallback = &H2 'The user account is configured to have the administrator set the call-back number. rpCallerSetCallback = &H4 'The remote user can specify a call-back phone number when dialing in. rpCallbackType = &H7 'Mask to identify the type of call-back privilege provided to the user. rpDialinPrivilege = &H8 'The user has permission to dial in to this server. End Enum 'RasPrivileges
//RasPrivileges - begin var rpNoCallback = 0x1; //The user has no call-back privilege. var rpAdminSetCallback = 0x2; //The user account is configured to have the administrator set the call-back number. var rpCallerSetCallback = 0x4; //The remote user can specify a call-back phone number when dialing in. var rpCallbackType = 0x7; //Mask to identify the type of call-back privilege provided to the user. var rpDialinPrivilege = 0x8; //The user has permission to dial in to this server. //RasPrivileges - end
// RasPrivileges
typedef [helpcontext(0x20045), helpstring("Indicates the user’s call-back privilege.")]
enum RasPrivileges{
[helpcontext(0x20045), helpstring("The user has no call-back privilege.")]
rpNoCallback = 0x1,
[helpcontext(0x20045), helpstring("The user account is configured to have the administrator set the call-back number.")]
rpAdminSetCallback = 0x2,
[helpcontext(0x20045), helpstring("The remote user can specify a call-back phone number when dialing in.")]
rpCallerSetCallback = 0x4,
[helpcontext(0x20045), helpstring("Mask to identify the type of call-back privilege provided to the user.")]
rpCallbackType = 0x7,
[helpcontext(0x20045), helpstring("The user has permission to dial in to this server.")]
rpDialinPrivilege = 0x8
} RasPrivileges;