FindAdminByIdentity Function

Attempts to find an admin by an auth method and an identity.

AdminId FindAdminByIdentity(const char[] auth, const char[] identity)

Parameters

const char[] auth

Auth method to try.

const char[] identity

Identity string to look up.

Return Value

An AdminId index if found, INVALID_ADMIN_ID otherwise.