Специализированное администрирование > Обеспечение безопасности данных > Метки безопасности и соглашения > Using Security Labels > Security Labels Import and Export > Exporting Objects with Security Labels
  
Exporting Objects with Security Labels
The export actions behave the same with respect to security labels. All defined security labels are exported, including any null values, even if the security labels feature is disabled.
To export an object when security labels are enabled, the user must have both the necessary authorization for security labels and the appropriate access control permissions for the export.
The following example shows the format of an exported part with security labels. The XML format for importing an object is the same.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE WTPart SYSTEM "standardX20.dtd">
<WTPart>
<ObjectID></ObjectID>
<objectContainerPath>/wt.inf.container.OrgContainer=PTC/wt.pdmlink. PDMLinkProduct=Load File Development</objectContainerPath>
<number>0000000021</number>
<name>Security Labeled Part</name>
<defaultUnit>ea</defaultUnit>
<endItem>false</endItem>
<defaultTraceCode>0</defaultTraceCode>
<genericType>standard</genericType>
<partType>separable</partType>
<partSource>make</partSource>
<domainName>/Default</domainName>
<folderPath>/Default/General</folderPath>
<view>Design</view>
<versionInfo>
<versionId>A</versionId>
<iterationId>1</iterationId>
<versionLevel>1</versionLevel>
<series>wt.series.HarvardSeries</series>
</versionInfo>
<lifecycleInfo>
<lifecycleTemplateName>Basic</lifecycleTemplateName>
<lifecycleState>INWORK</lifecycleState>
</lifecycleInfo>
<SecurityLabels>
<SecurityLabel name="SECRECY_LABEL" value="Secret,NotSecret"></SecurityLabel>
<SecurityLabel name="CORPORATE_PROPRIETARY" value="CEA"></SecurityLabel>
<SecurityLabel name="LEGAL_INFORMATION" value="NULL"></SecurityLabel>
<SecurityLabel name="EXPORT_CONTROL" value="LNS"></SecurityLabel>
<SecurityLabel name="THIRD_PARTY_PROPRIETARY" value="CompanyA"></SecurityLabel>
</SecurityLabels>
</WTPart>