diff options
author | Rafal Szczesniak <mimir@samba.org> | 2006-12-12 23:01:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:29:14 -0500 |
commit | a1af18217b9876327647552df1f328924ae726c4 (patch) | |
tree | 8eba793a4acbf5ce12e3b3e3ca0733e03daba605 /testprogs | |
parent | f1317dadc09f3e1b28e74e0877c362a58792ff8d (diff) | |
download | samba-a1af18217b9876327647552df1f328924ae726c4.tar.gz samba-a1af18217b9876327647552df1f328924ae726c4.tar.bz2 samba-a1af18217b9876327647552df1f328924ae726c4.zip |
r20143: a bit of experiments before doing serious changes in ejsnet.
rafal
(This used to be commit 3cdd43ebcedfa7d1d59bd33b3bfed4e80560ec82)
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/ejs/ejsnet.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testprogs/ejs/ejsnet.js b/testprogs/ejs/ejsnet.js index 8df81a537e..a40406d74e 100755 --- a/testprogs/ejs/ejsnet.js +++ b/testprogs/ejs/ejsnet.js @@ -30,6 +30,12 @@ if (status.is_ok != true) { return -1; } +var info = usr_ctx.Info(options.ARGV[1]); +println("UserInfo.AccountName = " + info.AccountName); +println("UserInfo.Description = " + info.Description); +println("UserInfo.FullName = " + info.FullName); +println("UserInfo.AcctExpiry = " + info.AcctExpiry); + var status = usr_ctx.Delete(options.ARGV[1]); if (status.is_ok != true) { println("Failed to delete user account " + options.ARGV[1] + ": " + status.errstr); |