DeleteSDIRole
Description:
-
Removes Roles from SDIs.
Input Properties
sdcid
Description:
-
Identifier of the SDC for the SDI from which you are removing Roles.
Required:
-
Yes
keyid1
Description:
-
Identifiers of the SDIs.
Required:
-
Yes
roleid
Description:
-
Identifiers of the Roles removed from the SDIs.
Required:
-
Yes
Comments:
-
To remove all Roles, leave this blank.
privid
Privilege granted to the SDI Roles. The only valid value for this is "list" (default), which grants privileges to view a list of the SDIs.
The privid is one of the four keys in the SDIRole table:
- roleid (FK)
- keyid1 (sdiid)
- sdcid (FK)
- privid (reftype)
Required:
-
No
rsetid
Description:
-
Identifier of the RSet passed into this Action.
Required:
-
No
Comments:
-
This is useful if you have created an RSet in another Action and want to use those values in this Action.
For example, suppose you have created an RSet in Action-001, and the Rset contains SDCId and KeyId values from multiple SDIs. You want to pass these values into Action-007. Rather than specifying all of these values in Action-007, you can simply specify the RSetId from Action-001.
An added advantage is that if data are locked in the Action-001 RSet, they will be locked in Action-007 as well.
applylock
Description:
-
Determines whether or not (Y/N) data are locked while the Action is processing.
Required:
-
No
separator
Description:
-
Character used to separate multiple values. The default is a semicolon.
Required:
-
No
Comments:
-
For backward-compatibility, the Action code also accepts "delimiter" as the Property Id.
Additional Information
Additional information concerning this Action:
-
To remove multiple Roles from multiple SDIs, use this example as a guideline:
sdcid = Sample
keyid1 = PLA;PLB
sdcid = S01;S02
roleid = Tech;Mgr
privid = list
This removes both Roles from both Samples.
Specifying one SDI and multiple Roles removes all specified Roles from the SDI.
Specifying multiple SDIs and a single Role removes the Role from the specified SDIs.
Specifying one or more SDIs and no Roles removes all Roles associated with the SDIs.
Copyright © 1999-2025 LabVantage Solutions, Inc.