UCLResult IGenericAuthenticationProvider.CreateOrUpdateUser(ISqlCallContext ctx, int actorId, int userId, object payload, UCLMode mode) { string password = payload as string; if (password == null) { throw new ArgumentException("Must be a string (the password).", nameof(payload)); } return(_basic.CreateOrUpdatePasswordUser(ctx, actorId, userId, password, mode)); }