A Database Owner or administrator can disable execute privilege on the login trigger, or code the login trigger to permit access only at certain times. For example, you may want to prohibit regular users from using the server while the Database Owner or administrator is updating the table.
If the login trigger returns a minus number, the login fails.