Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the user permissions associated with an item in the model hierarchy.
Namespace: ReportService2005
Assembly: ReportService2005 (in ReportService2005.dll)
Syntax
'Declaration
Public Function GetModelItemPermissions ( _
Model As String, _
ModelItemID As String _
) As String()
'Usage
Dim instance As ReportingService2005
Dim Model As String
Dim ModelItemID As String
Dim returnValue As String()
returnValue = instance.GetModelItemPermissions(Model, _
ModelItemID)
public string[] GetModelItemPermissions(
string Model,
string ModelItemID
)
public:
array<String^>^ GetModelItemPermissions(
String^ Model,
String^ ModelItemID
)
member GetModelItemPermissions :
Model:string *
ModelItemID:string -> string[]
public function GetModelItemPermissions(
Model : String,
ModelItemID : String
) : String[]
Parameters
- Model
Type: System.String
The full name of the model.
- ModelItemID
Type: System.String
The ID of the item in the model. If omitted, the permissions for the model root are returned.
Return Value
Type: array<System.String[]
A String array that contains the list of permissions on the item.
Remarks
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
The permissions returned are associated with tasks assigned to the roles in which the user is a member.