次の方法で共有


IService.SecurityPrincipalsCreate メソッド

セキュリティ モデル内に新しいユーザー、グループ、およびその権限を作成します。

名前空間:  Microsoft.MasterDataServices
アセンブリ:  Microsoft.MasterDataServices (Microsoft.MasterDataServices.dll)

構文

'宣言
<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
'使用
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

パラメーター

戻り値

型: Microsoft.MasterDataServices.SecurityCreateResponse
SecurityCreateResponse 型の新しいインスタンス。

関連項目

参照

IService インターフェイス

Microsoft.MasterDataServices 名前空間