Share via


CubePermissionCollection.FindByName(String) Method

Definition

Gets the CubePermission that has the specified name from the collection.

public Microsoft.AnalysisServices.CubePermission FindByName (string name);
member this.FindByName : string -> Microsoft.AnalysisServices.CubePermission
Public Function FindByName (name As String) As CubePermission

Parameters

name
String

The name of the CubePermission to locate.

Returns

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

Applies to