Share via


ModelPrivilege Class

Specifies a model/object level privilege within the MDS system.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.DataContractBase
    Microsoft.MasterDataServices.ModelPrivilege

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

Syntax

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

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 audit information.
Public property ExtensionData Gets or sets the structure that contains extra data. (Inherited from DataContractBase.)
Public property Identifier Gets or sets the permission identifier.
Public property IsModelAdministrator Gets or sets a value that indicates whether the principal is the model administrator.
Public property ModelId Gets or sets info.
Public property ObjectId Gets or sets the object ID.
Public property ObjectType Gets or sets the object type.
Public property Permission Gets or sets the security permission.
Public property PrincipalId Gets or sets the principal ID.
Public property PrincipalType Gets or sets the principal 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.

See Also

Reference

Microsoft.MasterDataServices Namespace