FunctionPrivilege 建構函式 (Identifier, PrincipalType, FunctionalArea, Boolean)
Initializes a new instance of the FunctionPrivilege class with the specified principal identifier, type, function, and authorization.
命名空間: Microsoft.MasterDataServices.Services.DataContracts
組件: Microsoft.MasterDataServices.Services (在 Microsoft.MasterDataServices.Services.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 of the Principal in the function privilege assignment.
- type
型別:Microsoft.MasterDataServices.Services.DataContracts. . :: . .PrincipalType
Function type.
- function
型別:Microsoft.MasterDataServices.Services.DataContracts. . :: . .FunctionalArea
The FunctionalArea assigned to the security principal.
- isAuthorized
型別:System. . :: . .Boolean
Authorization value.