Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1. Guest ji, please consider donating today!
      Become a Supporter    ::   Make a Contribution   
    Monthly Recurring Target: $300 :: Achieved: $95

Randomisation

Discussion in 'Information Technology' started by CRAIG MORRIS, Jul 28, 2006.

  1. CRAIG MORRIS

    CRAIG MORRIS
    Expand Collapse
    Guest

    I would like to ransomise Usernames and Passwords in a database so I can
    automatically assign them to registered users.
     
  2. Al Camp

    Al Camp
    Expand Collapse
    Guest

    Craig,
    I'm not sure if it's really necessary to randomize UserNames... I would think just the
    randomized passwords would suffice. You're call...

    See Randomize statement, and the RND function in Help.

    If you'll need combinations of letters and numbers, the letters can be derived by using
    the Ascii value of the random number returned.
    ex. Chr(a random no between 65 and 90) = A thru Z.
    Generate what sequences of letters and numbers you need, and then concatenate them
    together to form the final password "string"

    --
    hth
    Al Camp
    Candia Computer Consulting - Candia NH
    http://home.comcast.net/~cccsolutions


    "CRAIG MORRIS" <CRAIG MORRIS@discussions.microsoft.com> wrote in message
    news:3D764CBB-DDC6-4A2B-B500-B598C77D279B@microsoft.com...
    >I would like to ransomise Usernames and Passwords in a database so I can
    > automatically assign them to registered users.
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page