The User Database (UDB) API provides functions for dealing with users and groups belonging to the currently selected provider (WinGate UDB, Active Directory or Windows UDB). It provides functions for
- Querying objects (users and groups)
- Performing searches of the UDB
- Testing user membership
- Authentication enumeration
- Extension of user objects with custom data
- Encryption of data to/from users
Authenticating Users
- Open an authentication process with UDBAuthOpen
- Step though the process with UDBAuthStepBinary and/or UDBAuthStepBase64
- When finished get the resulting user with UDBAuthGetAuthenticatedUser
UDB Extenders
UDB Extenders allow you to attach custom data onto UDB objects. You provide a set of standard functions for managing the lifetime and storage of the data and the framework calls your functions when required.