Share via


IService.SecurityPrincipalsClone Method

Creates exact copies of users, groups and their permissions within the security model from another source, retaining the globally unique identifiers (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/SecurityPrincipalsCloneEditionExpiredMessageFault",  _
    Name := "EditionExpiredMessage")> _
<OperationContractAttribute(Action := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrincipalsClone",  _
    ReplyAction := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrincipalsCloneResponse")> _
Function SecurityPrincipalsClone ( _
    request As SecurityPrincipalsRequest _
) As MessageResponse
'Usage
Dim instance As IService
Dim request As SecurityPrincipalsRequest
Dim returnValue As MessageResponse

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

Parameters

Return Value

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

See Also

Reference

IService Interface

Microsoft.MasterDataServices Namespace