MOTOBIT.COM - ASP upload, IIS utility Privilege Property of RasUser class

Property | Member of  UserManager.RasUser | Changes | Purchase | Download

Description

A set of bit flags that specify the RAS privileges of the user. This member can be a combination of the rpDialinPrivilege flag and one of the call-back flags.

Syntax

vPrivilege = RasUser.Privilege
RasUser.Privilege = vPrivilege

Returns

RasPrivileges - Indicates the user’s call-back privilege.

Examples

Set privilege to CallerSetCallback

  Set Srv = CreateObject("UserManager.Server")
  Set Usr = Srv.Users("John")
  Usr.Ras.Privilege = rpDialinPrivilege + rpCallerSetCallback

Other links for Privilege

Properties of RasUser class

AdminSetCallback, CallerSetCallback, DialinPrivilege, NoCallback, PhoneNumber, Privilege

UserManager.RasUser

RAS privileges and call-back phone number for the user.

UserManager

ActiveX UserManager is easy to use COM component with classes to create, delete and manage local and remote user accounts, groups, servers and domains in the Windows NT (2000/XP) environment. You can simple work with user accounts and groups from VBA, VBS/JS, ASP and T-SQL programming environment.

© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz