Share via


Permission Constructor (String, String, String)

Initializes a new instance of Permission using roleID, user name, and user ID as parameter values. This method is invoked from a derived class or overloaded.

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

Syntax

'Declaration
Protected Sub New ( _
    roleId As String, _
    name As String, _
    id As String _
)
'Usage
Dim roleId As String
Dim name As String
Dim id As String

Dim instance As New Permission(roleId, _
    name, id)
protected Permission(
    string roleId,
    string name,
    string id
)
protected:
Permission(
    String^ roleId, 
    String^ name, 
    String^ id
)
new : 
        roleId:string * 
        name:string * 
        id:string -> Permission
protected function Permission(
    roleId : String, 
    name : String, 
    id : String
)

Parameters

  • name
    Type: System.String
    A String value with the name of current permission.
  • id
    Type: System.String
    A String value with the ID of current permission.