Partager via


Méthode IService.SecurityPrincipalsCreate

Creates new users, groups and their permissions within the security model.

Espace de noms :  Microsoft.MasterDataServices
Assembly :  Microsoft.MasterDataServices (en Microsoft.MasterDataServices.dll)

Syntaxe

'Déclaration
<OperationContractAttribute(Action := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrincipalsCreate",  _
    ReplyAction := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrincipalsCreateResponse")> _
<FaultContractAttribute(GetType(EditionExpiredMessage), Action := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/SecurityPrincipalsCreateEditionExpiredMessageFault",  _
    Name := "EditionExpiredMessage")> _
Function SecurityPrincipalsCreate ( _
    request As SecurityPrincipalsRequest _
) As SecurityCreateResponse
'Utilisation
Dim instance As IService
Dim request As SecurityPrincipalsRequest
Dim returnValue As SecurityCreateResponse

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

Paramètres

Valeur de retour

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

Voir aussi

Référence

IService Interface

Espace de noms Microsoft.MasterDataServices