Share via


FunctionPrivilege Class

Defines a data contract for the function permissions.

Inheritance Hierarchy

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

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

Syntax

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

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 Gets or sets the audit information.
Public property Function Gets or sets the functional area assigned to the security principal.
Public property Identifier Gets or sets the identifier of the function permissions.
Public property IsAuthorized Gets or sets a value that indicates whether the functional privilege is authorized.
Public property PrincipalId Gets or sets the identifier of the principal.
Public property PrincipalType Gets or sets the type of the principal.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (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.

See Also

Reference

Microsoft.MasterDataServices.Services.DataContracts Namespace