# getMethod method

UserAuthenticationMethod getMethod()

Gets the the user authentication method.

return The user authentication method. throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    UserAuthenticationMethod getMethod() {
      Pointer<Int32> pMethod = calloc();
      try {
        var err = biosealSDK.id3BiosealUserAuthentication_GetMethod(_pHandle.value, pMethod);
        if (err != BiosealError.success.value) {
          throw BiosealException(err);
        }
        final vMethod = UserAuthenticationMethodX.fromValue(pMethod.value);
        return vMethod;
      } finally {
        calloc.free(pMethod);
      }
    }