AddSDIRole
Description:
-
Adds Roles to SDIs.
Input Properties
sdcid
Description:
-
Identifier of the SDC for the SDI to which you are adding Roles.
Required:
-
Yes
keyid1
Description:
-
Identifiers of the SDIs to which you are adding Roles.
Required:
-
Yes
roleid
Description:
-
Identifiers of the Roles added to the SDIs.
Required:
-
Yes
privid
Description:
-
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
propsmatch
Description:
-
Determines how multiple property values are associated with SDIs.
Required:
-
Yes
Comments:
-
As an example, consider these properties:
sdcid = Sample
keyid1 = S01;S02
roleid = Tech;Mgr
The propsmatch value has these effects:
- propsmatch = Y adds the "Tech" Role to S01, and the "Mgr" Role to S02.
- propsmatch = N adds both Roles to both Samples.
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 during Action processing.
Required:
-
No
separator
Description:
-
Character used to separate multiple values. The default is a semicolon.
Required:
-
No
Additional Information
Additional information concerning this Action:
-
Role Level Access must be enabled for the SDC.
Copyright © 1999-2025 LabVantage Solutions, Inc.