Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Novell List of users and last login times
; ; LoginSeek.wbt ; ; ; Finds a user's last login date from NDS. ; :Main goSub Init goSub Process Exit :Init AddExtender("wwn4x34i.dll") context="fhosp.flowers.quorum" Return :Process userobjects = n4ObjectList("", "", "User", "") count = ItemCount(userObjects, @TAB) BoxOpen("Processing %count% users...", "") for i= 1 to count user=ItemExtract(i, userObjects, @TAB) attribs = n4ObjectProps(context, user, "") lLogin=ItemLocate("Last Login Time", attribs, @TAB) lName=ItemLocate("Full Name", attribs, @TAB) attrib1 = ItemExtract(lLogin, attribs, @TAB) value1 = n4ObjectProps(context, user, attrib1) attrib2 = ItemExtract(lName, attribs, @TAB) value2 = n4ObjectProps(context, user, attrib2) if lLogin == 0 then value="[NOT FOUND]" user=StrFix(value2, " ", 30) value1=StrFix(value1, " ", 20) BoxTitle("Processing %i% out of %count% users...") boxText("%User%%@TAB%%Value1%") Next BoxShut() Return
Article ID: W15553
File Created: 2003:05:13:11:28:44
Last Updated: 2003:05:13:11:28:44