ModelRole Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a set of user principals for whom security rules are applied. It is a child of a Model object.
public sealed class ModelRole : Microsoft.AnalysisServices.Tabular.NamedMetadataObject
type ModelRole = class
inherit NamedMetadataObject
Public NotInheritable Class ModelRole
Inherits NamedMetadataObject
- Inheritance
Constructors
ModelRole() |
Create a new instance of the ModelRole class with default settings. |
Properties
Annotations |
Gets the collection object of all annotations in the current ModelRole. |
Description |
The description of the role, visible to developers at design time and to administrators in management tools, such as SQL Server Management Studio. |
ExtendedProperties |
Gets the collection object of all extendedproperties in the current ModelRole. |
IsRemoved |
A Boolean specifying whether this object was removed from an object tree. (Inherited from MetadataObject) |
Members |
Gets the collection object of all members in the current ModelRole. |
Model |
Gets the Tabular model that contains this object. (Inherited from MetadataObject) |
ModelPermission |
The level of access for this role. Possible values are as follows. None (1): The role has no access to the model. Read (2): The role can read metadata and data of the model. ReadRefresh (3): The role has read and refresh permission. Refresh (4): The role can refresh the data and calculations in the model. Administrator (5): The role can administer the model. |
ModifiedTime |
The time that the object was last modified. |
Name |
Gets or Sets the Name of this object. |
ObjectType |
Gets the type of object. (Inherited from MetadataObject) |
Parent |
Parent object, null for Model objects. |
TablePermissions |
Gets the collection object of all tablepermissions in the current ModelRole. |
Methods
Clone() |
Creates a new, full copy of a ModelRole object. |
CopyFrom(ModelRole) |
Obsolete.
Deprecated. Use CopyTo method instead. |
CopyTo(ModelRole) |
Copies a ModelRole object to the specified object. |
Rename(String) |
Obsolete.
Deprecated. Use RequestRename method instead. |
RequestRename(String) |
Request rename of this object. |
Validate() |
This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only. (Inherited from MetadataObject) |