ModelPrivilege Class

Represents object-level privilege to the MDS.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.ModelPrivilege

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

Syntax

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

The ModelPrivilege type exposes the following members.

Constructors

  Name Description
Public method ModelPrivilege Initializes a new instance of the ModelPrivilege class.

Top

Properties

  Name Description
Public property AuditInfo Gets or sets an AuditInfo complex type.
Public property Identifier Gets or sets an Identifier complex type.
Public property IsModelAdministrator Gets or sets a value indicating whether the user’s effective permission for the model is model administrator.
Public property ModelId Gets or sets the Model to be privileged Identifier complex type.
Public property ObjectId Gets or sets an Identifier complex type.
Public property ObjectType Gets or sets a ModelObjectTypes simple type.
Public property Permission Gets or sets a Permission simple type.
Public property PrincipalId Gets or sets an Identifier complex type.
Public property PrincipalType Gets or sets a PrincipalType simple type.

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.