IUserDialinInfo Property: DialinPrivilege

Property Name
DialinPrivilege

Property Type
Boolean

Description
Gets and sets a flag that indicates whether the user has dialin privileges or not. The value of the property can be changed to grant or revoke a user dialin privilege.

Example

Dim UserDialinInfo As IUserDialinInfo
'Get the dialininfo interface for user object
Set UserDialinInfo = GetObject ("NTDS://DomainName/UserName")
'Give the user dialin privilege
UserDialinInfo.DialinPrivilege = True
'Save this information
UserDialinInfo.SetInfo
 

 

 See Also