Share via


PermissionsOperationsExtensions.ListForResource Method

Definition

Gets all permissions the caller has for a resource.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.Permission> ListForResource (this Microsoft.Azure.Management.Authorization.IPermissionsOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName);
static member ListForResource : Microsoft.Azure.Management.Authorization.IPermissionsOperations * string * string * string * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.Permission>
<Extension()>
Public Function ListForResource (operations As IPermissionsOperations, resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String) As IPage(Of Permission)

Parameters

operations
IPermissionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceProviderNamespace
String

The namespace of the resource provider.

parentResourcePath
String

The parent resource identity.

resourceType
String

The resource type of the resource.

resourceName
String

The name of the resource to get the permissions for.

Returns

Applies to