Re: Login Times

From: Juan Pedro Gonzalez (the_duke_at_terra.es)
Date: 10/26/04


Date: Tue, 26 Oct 2004 22:31:22 +0200

Thanks!

I wasn't thinking about jobs at all... I was running mad trying to pull in
triggers, and even thinking about changing the network configuration... but
my head wasn't thinking on jobs at all and it's a really nice answer.

Thank you Peter.

"Peter The Spate" <anonymous@discussions.microsoft.com> escribió en el
mensaje news:19dd01c4bb6a$f99c8b10$a301280a@phx.gbl...
> Yes there is.
>
> Have a couple of jobs running.
>
> Start the job at a specific time
> In the first job put in EXEC sp_denylogin '<usr_name>'
> Then if you need to kill any of the processes for that
> user still in there.
>
> in the second login put EXEC sp_grantlogin '<usr_name>'.
>
> So you start the first job at say 7pm
> And the second job at say 8.30am
>
> Peter
>
> "I may be drunk, Miss, but in the morning I will be sober
> and you will still be ugly."
> Winston Churchill
>
> >-----Original Message-----
> >Helo,
> >
> >Is there any way I could grant or deny a user login based
> on the time of
> >day?
> >
> >I'm running mad with this issue, since not everybody is a
> full time
> >employee, and for security reasons I would want to block
> their logins when
> >they are supposed to be out of the office.
> >
> >Thanks in advance.
> >
> >
> >.
> >



Relevant Pages

  • Re: DLA and work
    ... I agree with you Peter. ... I was passed over for many jobs simply because I am a wheelchair user. ... The DWP is doing little to win recruiting hearts-and-minds over to full-value DP employment contracts. ... Condemned to temporary and part-time and self-employed working. ...
    (uk.people.disability)
  • Re: Strand 520 and Moving Lights
    ... > SNIP. ... as well as the multitude of jobs in the cue synopsis. ... We will need to add a dummy cue before the preset to strike the movers, ... Thanks again - Peter Vincent ...
    (rec.arts.theatre.stagecraft)
  • Re: OT - the US is a lousy world citizen
    ... >expense of their own people's jobs. ... A few get very, very wealthy doing so. ... Quotes: Family Guy: Peter ... [Riding a circus elephant] ...
    (comp.cad.solidworks)
  • Re: Licht am Ende des Tunnels dank =?ISO-8859-1?Q?Schr=F6der=3F?=
    ... Arbeitnehmer vor dem Verlust ihres Jobs erhöht." ... Jobverlust als positiven Wirtschaftsfaktor ansehen. ... Peter ...
    (de.soc.politik.misc)
  • Re: Information about the massive strike at HP (In English)
    ... Peter wrote: ... HP axed 20,000 U.S. jobs and as far as I know there wasn't a single organized protest. ... Ron Hunter rphunter@xxxxxxxxxxx. ...
    (rec.photo.digital)