USP_CMSSECURITYGROUP_EDIT

The save procedure used by the edit dataform template "CMS Security Group Edit Data Form".

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier IN The input ID parameter indicating the ID of the record being edited.
@CHANGEAGENTID uniqueidentifier IN Input parameter indicating the ID of the change agent invoking the procedure.
@NAME nvarchar(65) IN
@SITETASKSGROUP bit IN

Definition

Copy


CREATE procedure USP_CMSSECURITYGROUP_EDIT
(
    @ID uniqueidentifier,
    @CHANGEAGENTID uniqueidentifier = null,
    @NAME nvarchar(65),
    @SITETASKSGROUP bit
)

as
  set nocount on;

    declare @CONTENTTYPESCODE int;

  exec dbo.USP_CMSSECURITYGROUP_EDITLOAD
        @ID = @ID,
        @CONTENTTYPESCODE = @CONTENTTYPESCODE output

  exec dbo.USP_CMSSECURITYGROUP_EDIT_1
        @ID,
        @CHANGEAGENTID,
        @NAME,
        @SITETASKSGROUP,
        @CONTENTTYPESCODE

  return 0;