USP_SYSTEMROLEAPPUSER_MAKESYSADMIN

Executes the "Application User: Make System Administrator" record operation.

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier IN Input parameter indicating the ID of the record being updated.
@CHANGEAGENTID uniqueidentifier IN Input parameter indicating the ID of the change agent invoking the update.

Definition

Copy


CREATE procedure dbo.USP_SYSTEMROLEAPPUSER_MAKESYSADMIN
  (
    @ID uniqueidentifier,
    @CHANGEAGENTID uniqueidentifier
  )
as

exec dbo.USP_APPUSER_SETSYSADMIN @ID, @CHANGEAGENTID, 1

return 0;