Subject isc_action_svc_add_user and Role
Author Robert F. Tulloch
Hi:

First, if this is a "support" question, let me know and I will
go elsewhere.

I had posted this question in Delphi Interbase group.

Unexpected item in Service Parameter Block
Expected isc_spb_username

So I commented out the SQLRole line and it works fine.
Obviously IBServices does not like
Char(Param) when param is 60.



and Jeff Overcash responded:

Don't use Roles for this service API. The roles part of the API
is marked in
the API guide as reserved for future use. It is not implemented
in 6.0, only
reserved for future use. Additionally it is "Optional SQL Role to
Adopt when
Administering users". It is not the same Role concept that is in
your DB. It
exists (when implemented) only in the isc4.gdb for the purpose of
administering
other users. Currently it would be meaningless. Basically you
can't fix this
because it is not implemented in the DB AFAICT.

If this is the case why is there an example in
Interbase\Examples\Services\start_user_add.c which add user and
includes isc_spb_role_name?

I thought the purpose of this was to add users and give them any
roles defined in the DB?

Any insight appreciated. Thanks.

Best
regards