Compartilhar via


Construtor FunctionPrivilege (Identifier, PrincipalType, FunctionalArea, Boolean)

Initializes a new instance of the FunctionPrivilege class with the specified principal identifier, type, function, and authorization.

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (em Microsoft.MasterDataServices.Services.Contracts.dll)

Sintaxe

'Declaração
Public Sub New ( _
    principalId As Identifier, _
    type As PrincipalType, _
    function As FunctionalArea, _
    isAuthorized As Boolean _
)
'Uso
Dim principalId As Identifier 
Dim type As PrincipalType 
Dim function As FunctionalArea 
Dim isAuthorized As Boolean 

Dim instance As New FunctionPrivilege(principalId, _
    type, function, isAuthorized)
public FunctionPrivilege(
    Identifier principalId,
    PrincipalType type,
    FunctionalArea function,
    bool isAuthorized
)
public:
FunctionPrivilege(
    Identifier^ principalId, 
    PrincipalType type, 
    FunctionalArea function, 
    bool isAuthorized
)
new : 
        principalId:Identifier * 
        type:PrincipalType * 
        function:FunctionalArea * 
        isAuthorized:bool -> FunctionPrivilege
public function FunctionPrivilege(
    principalId : Identifier, 
    type : PrincipalType, 
    function : FunctionalArea, 
    isAuthorized : boolean
)

Parâmetros

  • isAuthorized
    Tipo: System.Boolean
    true to indicate that the privilege should be authorized; otherwise, false.

Consulte também

Referência

FunctionPrivilege Classe

Sobrecarregado FunctionPrivilege

Namespace Microsoft.MasterDataServices.Services.DataContracts