1. A method of establishing access control to records stored in a database, the method comprising: specifying an authentication identifier that is associated with one or more users of the database; and defining a calculation expression for the authentication identifier for a first operation of the database, wherein the calculation expression is based on at least one variable field of data contained in the records of the database, wherein the calculation expression, when evaluated, identifies access privileges for users having the authentication identifier to the first operation.