Share via


IService.SecurityPrincipalsCreate Method

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

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

Syntax

'Declaration
<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
'Usage
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

Parameters

Return Value

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

See Also

Reference

IService Interface

Microsoft.MasterDataServices Namespace