Creating and Deleting Users/Persons

This is a discussion on Creating and Deleting Users/Persons within the lotus-notes-misc forums in Other Technologies category; 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 ...

Go Back   Database Forum > Other Technologies > lotus-notes-misc

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-25-2007, 03:27 AM
Default Creating and Deleting Users/Persons

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

Reply With Quote
  #2  
Old 07-25-2007, 04:58 AM
Default Re: Creating and Deleting Users/Persons

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

Reply With Quote
  #3  
Old 07-25-2007, 12:46 PM
Default Re: Creating and Deleting Users/Persons

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 -



Reply With Quote
  #4  
Old 07-25-2007, 11:31 PM
Default Re: Creating and Deleting Users/Persons

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
>

Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 09:06 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.