| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
|
| Hi, I need some help creation and deletion of users. I'd appreciate if anybody can provide me ways to achieve the following. I have a test domino server [7] where I need to do the following: 1) Need to create some 5000 users. For this, I have programatically created an import file which has all the 5000 entries, but how can I go about having the password. [I use the HTTPPassword: field and i use the same password for all the 5k users.] Everything is importing fine, except for the password, where somebody needs to login and change the password. Any other better way to create users automatically? [user names are like STUser1, STUser2......] 2) If I want to delete 5000 users, it is taking hours, any better way of deleting users in mass? any scripts? Thanks in advance, Sathish |
|
#2
|
| On Jul 25, 4:26 pm, z80...@gmail.com wrote: > Hi, > I need some help creation and deletion of users. I'd appreciate if > anybody can provide me ways to achieve the following. > > I have a test domino server [7] where I need to do the following: > > 1) Need to create some 5000 users. For this, I have programatically > created an import file which has all the 5000 entries, but how can I > go about having the password. [I use the HTTPPassword: field and i > use > the same password for all the 5k users.] Everything is importing > fine, except for the password, where somebody needs to login and > change the password. Any other better way to create users > automatically? [user names are like STUser1, STUser2......] > > 2) If I want to delete 5000 users, it is taking hours, any better way > of deleting users in mass? any scripts? > > Thanks in advance, > Sathish Hi, how you doing the import, via Administration client or you just import them into view? I'll recommend to use Administration client as if you just import it into view there could be necessary to do some refresh of this documents. Deletion shouldn't take that long, are you just deleting them with Delete key? If it is just testing environment it should be enough, if it is still slow try to create local replica and delete them there. martin |
|
#3
|
| Martin, Thanks for your response. I create it on the admin client through import. The problem is that account is not accessible immediately, as the user has to logon to confirm/save the password [i guess this is for encryption]. Is there any other way? Deletion is by selecting and delete [del key]. Thru web interface, i can select only 30 at a time. but on the client i can select almost all, but it is very slow and danger of going out of memory. Local replica and delete, can you brief me how? Thanks Sathish On Jul 25, 12:58 pm, Martin Humpolec wrote: > On Jul 25, 4:26 pm, z80...@gmail.com wrote: > > > > > > > Hi, > > I need some help creation and deletion of users. I'd appreciate if > > anybody can provide me ways to achieve the following. > > > I have a test domino server [7] where I need to do the following: > > > 1) Need to create some 5000 users. For this, I have programatically > > created an import file which has all the 5000 entries, but how can I > > go about having the password. [I use the HTTPPassword: field and i > > use > > the same password for all the 5k users.] Everything is importing > > fine, except for the password, where somebody needs to login and > > change the password. Any other better way to create users > > automatically? [user names are like STUser1, STUser2......] > > > 2) If I want to delete 5000 users, it is taking hours, any better way > > of deleting users in mass? any scripts? > > > Thanks in advance, > > Sathish > > Hi, > how you doing the import, via Administration client or you just import > them into view? I'll recommend to use Administration client as if you > just import it into view there could be necessary to do some refresh > of this documents. > > Deletion shouldn't take that long, are you just deleting them with > Delete key? If it is just testing environment it should be enough, if > it is still slow try to create local replica and delete them there. > > martin- Hide quoted text - > > - Show quoted text - |
|
#4
|
| You might be able to write a background agent to set the password on all documents that fit the criteria: SELECT ( Form = "Person" ) & ( @Left( Lastname; 6 ) = "STUser" ); FIELD HTTPPassword := @Password( "yourpassword" ) As for deleting, could you write a background agent to select the documents and then delete them? SELECT ( Form = "Person" ) & ( @Left( Lastname; 6 ) = "STUser" ); @DeleteDocument Make them background agents, and they won't tie up your workstation. Note - the above code has not been tested - use as a starting point. Tim Mohrlant z80pio-at-gmail.com wrote: > Hi, > I need some help creation and deletion of users. I'd appreciate if > anybody can provide me ways to achieve the following. > > I have a test domino server [7] where I need to do the following: > > > 1) Need to create some 5000 users. For this, I have programatically > created an import file which has all the 5000 entries, but how can I > go about having the password. [I use the HTTPPassword: field and i > use > the same password for all the 5k users.] Everything is importing > fine, except for the password, where somebody needs to login and > change the password. Any other better way to create users > automatically? [user names are like STUser1, STUser2......] > > > 2) If I want to delete 5000 users, it is taking hours, any better way > of deleting users in mass? any scripts? > > > Thanks in advance, > Sathish > |
![]() |
| Thread Tools | |
| Display Modes | |