diff options
author | Rafal Szczesniak <mimir@samba.org> | 2006-12-12 23:01:51 +0000 |
---|---|---|
committer | Rafal Szczesniak <mimir@samba.org> | 2006-12-12 23:01:51 +0000 |
commit | a22a648f69481e13526f8a78ca678899b8f3d8f5 (patch) | |
tree | a7aea583a4321e9def17b19fff9f6cc0cc03cb1e /testprogs/ejs | |
parent | 41d0fcef12a79cf52fa885effe205312e7fa43c7 (diff) | |
download | samba-a22a648f69481e13526f8a78ca678899b8f3d8f5.tar.gz samba-a22a648f69481e13526f8a78ca678899b8f3d8f5.tar.xz samba-a22a648f69481e13526f8a78ca678899b8f3d8f5.zip |
r20143: a bit of experiments before doing serious changes in ejsnet.
rafal
Diffstat (limited to 'testprogs/ejs')
-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 8df81a537e1..a40406d74e6 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); |