Share via


FunctionPrivilege Class

Represents a function privilege security assignment for a user or group.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.FunctionPrivilege

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

Syntax

'Declaration
<DataContractAttribute(Name := "FunctionPrivilege", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public NotInheritable Class FunctionPrivilege
'Usage
Dim instance As FunctionPrivilege
[DataContractAttribute(Name = "FunctionPrivilege", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public sealed class FunctionPrivilege
[DataContractAttribute(Name = L"FunctionPrivilege", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class FunctionPrivilege sealed
[<SealedAttribute>]
[<DataContractAttribute(Name = "FunctionPrivilege", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type FunctionPrivilege =  class end
public final class FunctionPrivilege

The FunctionPrivilege type exposes the following members.

Constructors

  Name Description
Public method FunctionPrivilege() Initializes a new instance of the FunctionPrivilege class with default values.
Public method FunctionPrivilege(Identifier, PrincipalType, FunctionalArea) Initializes a new instance of the FunctionPrivilege class with the specified principal identifier, type, and function.
Public method FunctionPrivilege(Identifier, PrincipalType, FunctionalArea, Boolean) Initializes a new instance of the FunctionPrivilege class with the specified principal identifier, type, function, and authorization.

Top

Properties

  Name Description
Public property AuditInfo AuditInfo complex type
Public property Function The FunctionalArea assigned to the security principal.
Public property Identifier The Identifier of the function privilege assignment.
Public property IsAuthorized Gets or sets a value indicating whether the function is assigned to the principal. Function privileges are either on or off (authorized or not authorized).
Public property PrincipalId Gets or sets the Identifier of the Principal in the function privilege assignment.
Public property PrincipalType Gets or sets the Identifier of the Principal in the function privilege assignment.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.