BindAdminIdentity

Last Updated2014-09-09
Created At2007-05-19

Binds an admin to an identity for fast lookup later on. The bind must be unique.

native bool BindAdminIdentity(AdminId id, const char[] auth, const char[] ident)

Parameters

AdminId of the admin.
const char[] auth
Auth method to use, predefined or from RegisterAuthIdentType().
const char[] ident
String containing the arbitrary, unique identity.

Return Value

bool True on success, false if the auth method was not found, ident was already taken, or ident invalid for auth method.