Partager via


DimensionPermissionCollection.FindByRole(String) Method

Definition

Gets the DimensionPermission with the specified RoleID from the collection.

public Microsoft.AnalysisServices.DimensionPermission FindByRole (string roleId);
member this.FindByRole : string -> Microsoft.AnalysisServices.DimensionPermission
Public Function FindByRole (roleId As String) As DimensionPermission

Parameters

roleId
String

The RoleID of the DimensionPermission to locate.

Returns

The DimensionPermission with the specified RoleID, if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

Applies to