Is there a way to authenticate a user in the ms-access database?

I have an MS-access database. But it is on a shared drive. And it requires that only a certain number of people use it. Is there a way to authenticate a user?

+3
source share
7 answers

Since access depends on the file, why not create a folder on the shared drive and assign access rights to the appropriate people.

+4
source

, , "" > "" > " ". , Access.

+5

. .

- .

, , .. .

+2

Access 2007.

Access 2007:

  • ()
  • , Office Access 2007
0

, , ?

0

VBA. Form_Open sub API- Windows, , . "", , , Access.

'    Dim As String   Dim AuthorizedUser As Boolean   user = UCase (CurrentUser())

AuthorizedUser = True
Select Case user
    Case "USER_A":
    Case "USER_B":
    Case "USER_C":     
    Case Else: AuthorizedUser = False
End Select

If AuthorizedUser = True Then
   MsgBox "Welcome authorized user " & user
Else
   MsgBox user & "is not Authorized. For access to this database contact User_A"
   DoCmd.Quit
End If
0

:

  • . , , Access .ldb, (.mdb).

  • "" Access Sql... SQL . , . SQL, SQL, (, ///etc).

-2

Source: https://habr.com/ru/post/1699272/


All Articles