Share via


IService.SecurityPrivilegesClone Method

Creates exact copies of permissions within the security model from another source, retaining the GUIDs of the original objects.

Namespace:  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (in Microsoft.MasterDataServices.dll)

Syntax

'Declaration
<FaultContractAttribute(GetType(EditionExpiredMessage), Action := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneEditionExpiredMessageFault",  _
    Name := "EditionExpiredMessage")> _
<OperationContractAttribute(Action := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesClone",  _
    ReplyAction := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneResponse")> _
Function SecurityPrivilegesClone ( _
    request As SecurityPrivilegesRequest _
) As MessageResponse
'Usage
Dim instance As IService
Dim request As SecurityPrivilegesRequest
Dim returnValue As MessageResponse

returnValue = instance.SecurityPrivilegesClone(request)
[FaultContractAttribute(typeof(EditionExpiredMessage), Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneEditionExpiredMessageFault", 
    Name = "EditionExpiredMessage")]
[OperationContractAttribute(Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesClone", 
    ReplyAction = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneResponse")]
MessageResponse SecurityPrivilegesClone(
    SecurityPrivilegesRequest request
)
[FaultContractAttribute(typeof(EditionExpiredMessage), Action = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneEditionExpiredMessageFault", 
    Name = L"EditionExpiredMessage")]
[OperationContractAttribute(Action = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesClone", 
    ReplyAction = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneResponse")]
MessageResponse^ SecurityPrivilegesClone(
    SecurityPrivilegesRequest^ request
)
[<FaultContractAttribute(typeof(EditionExpiredMessage), Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneEditionExpiredMessageFault", 
    Name = "EditionExpiredMessage")>]
[<OperationContractAttribute(Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesClone", 
    ReplyAction = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrivilegesCloneResponse")>]
abstract SecurityPrivilegesClone : 
        request:SecurityPrivilegesRequest -> MessageResponse
function SecurityPrivilegesClone(
    request : SecurityPrivilegesRequest
) : MessageResponse

Parameters

Return Value

Type: Microsoft.MasterDataServices.MessageResponse
A new instance of type MessageResponse.

See Also

Reference

IService Interface

Microsoft.MasterDataServices Namespace