Copy-SPBusinessDataCatalogAclToChildren

将业务数据连接元数据存储元数据对象的一组权限复制到其子对象。

语法

Copy-SPBusinessDataCatalogAclToChildren
    -MetadataObject <MetadataObject>
    [-AssignmentCollection <SPAssignmentCollection>]
    [-Confirm]
    [-WhatIf]
    [<CommonParameters>]

说明

Copy-SPBusinessDataCatalogAclToChildren cmdlet 将业务数据连接元数据对象的一组权限复制到其子对象。

任何主体及其权利都将从子元数据对象中丢失。 确保父元数据对象具有所需的最终权限,或确保在运行此 cmdlet 后再次将其追加到子对象。

在 BdcObjectType BdcCatalog (Business Data Connectivity Metadata Store) 上运行此 cmdlet 将传播到:

  • BDC 模型
  • 外部系统
  • 外部内容类型
  • 方法
  • 方法实例

在 BdcObjectType 模型 (业务数据连接模型) 上运行此 cmdlet 将传播到:

  • 无;此类型没有子元数据对象

在 BdcObjectType LobSystem (外部系统) 上运行此 cmdlet 将传播到:

  • 外部内容类型
  • 方法
  • 方法实例

在 BdcObjectType 实体上运行此 cmdlet (外部内容类型) 将传播到:

  • 方法
  • 方法实例

有关适用于 SharePoint 产品的 Windows PowerShell 的权限和最新信息,请参阅 SharePoint Server cmdlet

示例

------------------示例------------------

$ExternalSystem = Get-SPBusinessDataCatalogMetadataObject -BdcObjectType "LobSystem" -ServiceContext https://contoso -Name "ContosoDatabase"

本示例查看 (用户) 主体及其为外部系统元数据对象提供的相应权限,并使用这些相同的主体和权限覆盖其子元数据对象的权限。

任何主体及其权利都将从子元数据对象中丢失。 确保父元数据对象具有所需的最终权限,或确保在运行此 cmdlet 后再次将其追加到子对象。

参数

-Confirm

Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-MetadataObject

指定业务数据连接元数据对象。

Type:MetadataObject
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-WhatIf

Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-工作分配

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

Type:SPAssignmentCollection
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition