Previous Topic: securityNext Topic: cadsmcmd.example.linkSAToSo


linkSAToSO

The command links a list of specified secured objects to a specified security area.

This command is valid for domain managers only.

It has the following format:

cadsmcmd security	action=linkSAToSO
name=security_area_name
{soName=secured_object_name}
classId=security_class_identifier
[folderName=folder_name
folderClassId=identifier_of_the_folder’s_class]
[domainName=domain_name]
name

Specifies the name of the security area to that the specified objects are linked to.

soName

Specifies the name (label) of the secured object to be linked to the specified security area.

The option can be coded more than once for passing a list of secured objects.

If the secured object is of security class "SoftwarePackage," specify the name and the version in the following format:

«name»|«version».

If «name» contains blanks, enclose «name»|«version» in quotation marks:

"«name»|«version»".

Example:

name testPackage and version 1.0

soname=testPackage|1.0

name CA ITCM Manager and version 12.0

soname="CA ITCM Manager|12.0"

classId

Specifes the identifier of the security class to which the secured objects belong. The following identifiers are valid:

SoftwarePackage

for the software package class

SoftwareJob

for the software job class

SoftwareJobContainer

for the software job container class

SoftwarePolicy

for the class of software based policies.

folderName

Specifies the name of a folder or container to which all the specified secured objects belong. The option is mandatory for the following security classes:

SoftwareJob

In any other case the parameter is ignored.

folderClassId

Specifies the identifier of the security class to which the folder specified belongs. The following identifiers are valid:

The parameter is ignored whenever the parameter folderName is ignored.

domainName

Specifies the name of the domain to which all secured objects specified and possible folders belong. If the parameter is not coded then it is assumed that all objects belong to the local domain of the manager addressed by this CADSMCMD call.

Note: This option is obsolete for security objects of type SoftwarePackage and is ignored when coded.