Setting Access Privileges by Password
In multiuser environments, there are many occasions when you want very specific and targeted control over each user's actions. Instead of giving (or withholding) blanket read or write access to all records, you need to let a user have full control of some records but read-only or even no access to others.In this example, we set privileges so that users with a particular password can see any record in the database, but can only edit or delete records that they created.
To set access privileges by password
1 .Choose File > Define > Database. (Control+Shift+D/Command+Shift+D). Click the Fields tab.2 .When the Define Database dialog box appears, type Creator for the field name, choose Text (Control+T/Command+T) as the Type, and click Create.3 .Double-click the Creator field. When the Options for Field dialog box appears, click the Auto- Enter tab.4 .Click the Creation check box and choose Account Name from the drop-down menu (Figure 16.30). Click OK twice.
Figure 16.30. The Auto-Enter AccountName option identifies the user who created a record.

Figure 16.31. The limited edit privilege will only allow access to the field data if a condition is met.
[View full size image]

Figure 16.32. Get(AccountName) returns the name of the current user.

Figure 16.33. When you close the Edit Account & Privileges dialog box, you will always be prompted for the full access password.

When users open the database using the password you configured, they'll be able to edit and delete only records that they created, although they can still browse records created by others. You can still have full access to all records by opening the file with the master account.