Initializes a new instance of the FunctionPrivilege class with the specified principal identifier, type, function, and authorization.
命名空间: Microsoft.MasterDataServices.Services.DataContracts
程序集: Microsoft.MasterDataServices.Services.Contracts(在 Microsoft.MasterDataServices.Services.Contracts.dll 中)
语法
声明
Public Sub New ( _
principalId As Identifier, _
type As PrincipalType, _
function As FunctionalArea, _
isAuthorized As Boolean _
)
用法
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
)
参数
- principalId
类型:Microsoft.MasterDataServices.Services.DataContracts.Identifier
The identifier for the principal.
- type
类型:Microsoft.MasterDataServices.Services.DataContracts.PrincipalType
The type for the principal identifier.
- function
类型:Microsoft.MasterDataServices.Services.DataContracts.FunctionalArea
The functional area for the privilege.
- isAuthorized
类型:System.Boolean
true to indicate that the privilege should be authorized; otherwise, false.