Page 1 of 1 1
Topic Options
#121813 - 2004-06-24 09:44 PM NT User Accounts Objects
Rdestito Offline
Lurker

Registered: 2004-06-22
Posts: 3
Hello ,
I need to retrieve almost all info. about a userID . The following script returns :
UserID and Description
but I dont know other Object Names .

Function Groupmembers($target, $group, optional $flag)

$group = getobject("WinNT://$target/$group")

for each $member in $group.members
$nome = $member.name
$desc = $member.description
? $nome + " " + $desc +


endfunction

Could anyone send me the list of all user objects like :
- last logon date
- password expiring date
- other objects
Thanks

Top
#121814 - 2004-06-24 10:19 PM Re: NT User Accounts Objects
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1342
Loc: NL
You don't have to use always Kix.... Use Dumpsec

Edited by Co (2004-06-24 10:19 PM)
_________________________
Co


Top
#121815 - 2004-06-25 09:32 AM Re: NT User Accounts Objects
Breaker Offline
Hey THIS is FUN
*****

Registered: 2001-06-15
Posts: 268
Loc: Yorkshire, England
I would recommend starting here:

MSDN ADSI Reference

and browsing the object model to see the various properties and methods of each ADSI object that can be used.

Somewhere on MSDN (couldn't find the link in a quick search - sorry!) there is also a downloadable ADSI SDK, which includes all the helpfiles and documentation, so you can read it locally, if necessary.

Hope this helps.
_________________________
================================================
Breaker


Top
Page 1 of 1 1


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

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.08 seconds in which 0.048 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