Page 1 of 1 1
Topic Options
#86511 - 2002-06-28 11:48 PM User Account Dial-In Properties
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I have been looking for an ADSI way of obtain/set a user's "Remote Access Permissions (Dial-In or VPN)" properties but can't find a defined property or method in the ADSI help file. Did I just not look hard enough? Is there a WMI or other method via COM to access this information?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#86512 - 2002-06-29 01:32 AM Re: User Account Dial-In Properties
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Via ADSI try: $oADSI.dialinprivilege = true
Top
#86513 - 2002-06-29 01:36 AM Re: User Account Dial-In Properties
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Oh, and you might need the Adsras.dll file in the ADSI SDK if you want to set privileges.

Ref: Cannot Grant Dial-in Access to a User from an ADSI Script (Q252398)

[ 29 June 2002, 01:39: Message edited by: Chris S. ]

Top
#86514 - 2002-06-29 01:39 AM Re: User Account Dial-In Properties
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I can not find reference to that property in the ADSI help file. I also want access to all the other properties on the W2K account properties "Dial-In" page. Can you direct me to some docs?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#86515 - 2002-06-29 01:42 AM Re: User Account Dial-In Properties
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
thanks.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#86516 - 2002-06-29 02:03 AM Re: User Account Dial-In Properties
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
By default ADSI doesn't expose RAS information. The ADsRas.dll exposes RAS related properties.

The DialinPrivilege property is a Boolean property that returns True if the user has dialup access, GetRasPhoneNumber returns the RAS call back phone number and GetRasCallBack returns a integer value that determines the call back type.

Top
#86517 - 2002-06-30 09:04 AM Re: User Account Dial-In Properties
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
What about RASDIAL from NT/2k? Does that help you?

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
Page 1 of 1 1


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.034 seconds in which 0.019 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org