NTKERNELAPI
BOOLEAN
SeTokenIsAdmin(
  IN  PACCESS_TOKEN Token
  );

Routine Description:

    Returns if the token is a member of the local admin group.

Arguments:

    Token - Points to the token.

Return Value:

    TRUE - Token contains the local admin group
    FALSE - no admin.