Compartir a través de


IService.SecurityPrincipalsCreate Método

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

Espacio de nombres:  Microsoft.MasterDataServices
Ensamblado:  Microsoft.MasterDataServices (en Microsoft.MasterDataServices.dll)

Sintaxis

'Declaración
<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
'Uso
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

Parámetros

Valor devuelto

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

Vea también

Referencia

IService Interfaz

Espacio de nombres Microsoft.MasterDataServices