Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Create iManage user with vbscript?
System
Hi guys.
I am new round here. and if this is not the right forum please let me know
I was wondering is it possible to create an iManage account with vbscript?
Just so you know we are using DB Admin 8.11
Many thanks to any help anyone can give :-)
Cheers
Find more posts tagged with
Comments
dopey
It's the right forum. If you have the imanadmin.dll, available with the SDK, you should be able to create a user. I don't have access to the code right now (and don't write vbscript) but the code to create one would be in the database, users, or user object.
jny
This script will create a new user, Tester2, in the specified server/database with the password already set to "never expires".
[vbs]
option explicit
dim dms, sess, user
set dms = createobject("IMANADMIN.NRTDMS")
set sess = dms.Sessions.Add("[server_name]")
' Login as an NRTADMIN member.
sess.TrustedLogin
Set user = sess.Databases.Item("[database_name]").CreateUser("TESTER2")
user.Password = "[password]"
user.PasswordExpires = False
user.Update
msgbox user.Name
Migrateduser
Thanks guys.
Do i still need the imanadmin.dll to run that script?
We dont have the sdk kit
Again thanks very much for taking the time to post back :-)
jny
You must have the iManAdmin.dll in order to make its calls. You would need to purchase the SDK.