AdminId.BindIdentity Method

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

bool BindIdentity(const char[] authMethod, const char[] ident)


const char[] authMethod

Auth method to use, predefined or from RegisterAuthIdentType().

const char[] ident

String containing the arbitrary, unique identity.

Return Value

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