Microsoft Office Tutorials and References
In Depth Information
Table 4-6. Grant and Revoke Operations
Command
Description
Grant-SPBusinessDataCatalog
MetadataObject
Command to grant permissions to a principal for a specified BDC
metadata object. You need to retrieve model details from the metadata
object first using the Get-SPBusinessDataCatalogMetadataObject
command and claim details from the New-SPClaimObject command.
Example: $yourclaim = New-SPClaimObject –User “domain\username”
–Type windowssamaccountname
$yourmodel = Get-SPBusinessDataCatalogMetadataObject
–BdcObjectType “Model” –ServiceContext http://yoursharepointsite
–Name “yourmodel”
Grant-SPBusinessDataCatalogMetadataObject –Identity $<yourmodel>
–Principal $<yourclaim> –Right <right>
Revoke-SPBusinessDataCatalog
MetadataObject
Command to revoke rights for a user in the BDC Metadata Store metadata
object. You need to retrieve model details from the metadata object first
using the Get-SPBusinessDataCatalogMetadataObject command and
claim details from the New-SPClaimObject command.
Example: Revoke-SPBusinessDataCatalogMetadataObject –Identity
$<metadataobject> -Principal $<claims> -Right <right>
Table 4-7. New Operations
Command
Description
New-SPBusinessDataCatalog
ServiceApplication
Command to create a new BDC service application in the farm.
Example: New-SPBusinessDataCatalogServiceApplication
–ApplicationPool “<AppPool>” –DatabaseName “<dbname>”
–DatabaseServer “<DBServer Name>” –Name “<BDCServiceAppName>”
New-SPBusinessDataCatalog
ServiceApplicationProxy
Command to create a new BDC service application proxy in the farm.
Example: New-SPBusinessDataCatalogServiceApplicationProxy –Name
“proxyname” –ServiceApplication $<serviceapplication>
Table 4-8. Remove Operations
Command
Description
Remove-SPBusinessDataCatalogModel
Command to delete the BDC model. You need to retrieve model details
from the metadata object first using the Get-SPBusinessDataCatalogMetad
ataObject command.
Example: Remove-SPBusinessDataCatalogModel –Identity $yourmodel
Remove-SPSiteSubscriptionBusiness
DataCatalogConfig
Command to remove the BDC Metadata Store for a partition or site.
Example: Remove-SPSiteSubscriptionBusinessDataCatalogConfig
–ServiceContext http://yoursharepointsite
 
 
Search JabSto ::




Custom Search