Edit

Share via


Get-AzDataLakeAnalyticsCatalogItemAclEntry

Gets an entry in the ACL of a catalog or catalog item in Data Lake Analytics.

Syntax

GetCatalogAclEntry (Default)

Get-AzDataLakeAnalyticsCatalogItemAclEntry
    [-Account] <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

GetCatalogAclEntryForUserOwner

Get-AzDataLakeAnalyticsCatalogItemAclEntry
    [-Account] <String>
    [-UserOwner]
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

GetCatalogAclEntryForGroupOwner

Get-AzDataLakeAnalyticsCatalogItemAclEntry
    [-Account] <String>
    [-GroupOwner]
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

GetCatalogItemAclEntry

Get-AzDataLakeAnalyticsCatalogItemAclEntry
    [-Account] <String>
    -ItemType <String>
    -Path <CatalogPathInstance>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

GetCatalogItemAclEntryForUserOwner

Get-AzDataLakeAnalyticsCatalogItemAclEntry
    [-Account] <String>
    -ItemType <String>
    -Path <CatalogPathInstance>
    [-UserOwner]
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

GetCatalogItemAclEntryForGroupOwner

Get-AzDataLakeAnalyticsCatalogItemAclEntry
    [-Account] <String>
    -ItemType <String>
    -Path <CatalogPathInstance>
    [-GroupOwner]
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

The Get-AzDataLakeAnalyticsCatalogItemAclEntry cmdlet gets a list of entries (ACEs) in the access control list (ACL) of a catalog or catalog item in Data Lake Analytics.

Examples

Example 1: Get the ACL for a catalog

Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla"
Type  Id                                   Permissions
----  --                                   -----------
User  90a6f74b-fd73-490e-900a-c4f0f9694d02        Read
Group 902b155a-5601-4ca8-8178-ad3289211f88   ReadWrite
Other 00000000-0000-0000-0000-000000000000        None

This command gets the ACL for the catalog of the specified Data Lake Analytics account

Example 2: Get the ACL entry of user owner for a catalog

Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -UserOwner
Type      Id                                   Permissions
----      --                                   -----------
UserOwner 0316ac75-6703-4ace-984f-a4dd79aeeafc   ReadWrite

This command gets ACL entry of the user owner for the catalog of the specified Data Lake Analytics account

Example 3: Get the ACL entry of group owner for a catalog

Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -GroupOwner
Type       Id                                   Permissions
----       --                                   -----------
GroupOwner 0316ac75-6703-4ace-984f-a4dd79aeeafc   ReadWrite

This command gets ACL entry of the group owner for the catalog of the specified Data Lake Analytics account

Example 4: Get the ACL for a database

Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -ItemType Database -Path "databaseName"
Type  Id                                   Permissions
----  --                                   -----------
User  90a6f74b-fd73-490e-900a-c4f0f9694d02        Read
Group 902b155a-5601-4ca8-8178-ad3289211f88   ReadWrite
Other 00000000-0000-0000-0000-000000000000        None

This command gets the ACL for the database of the specified Data Lake Analytics account

Example 5: Get the ACL entry of user owner for a database

Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -UserOwner -ItemType Database -Path "databaseName"
Type      Id                                   Permissions
----      --                                   -----------
UserOwner 0316ac75-6703-4ace-984f-a4dd79aeeafc   ReadWrite

This command gets the ACL entry of the user owner for the database of the specified Data Lake Analytics account

Example 6: Get the ACL entry of group owner for a database

Get-AzDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -GroupOwner -ItemType Database -Path "databaseName"
Type       Id                                   Permissions
----       --                                   -----------
GroupOwner 0316ac75-6703-4ace-984f-a4dd79aeeafc   ReadWrite

This command gets the ACL entry of the group owner for the database of the specified Data Lake Analytics account

Parameters

-Account

Specifies the Data Lake Analytics account name.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AccountName

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-GroupOwner

Get ACL entry of catalog for group owner

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetCatalogAclEntryForGroupOwner
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
GetCatalogItemAclEntryForGroupOwner
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ItemType

Specifies the type of the catalog or catalog item(s). The acceptable values for this parameter are:

  • Catalog
  • Database

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetCatalogItemAclEntry
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
GetCatalogItemAclEntryForUserOwner
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
GetCatalogItemAclEntryForGroupOwner
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Path

Specifies the Data Lake Analytics path of an catalog or catalog item. The parts of the path should be separated by a period (.).

Parameter properties

Type:CatalogPathInstance
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetCatalogItemAclEntry
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
GetCatalogItemAclEntryForUserOwner
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
GetCatalogItemAclEntryForGroupOwner
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-UserOwner

Get ACL entry of catalog for user owner.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetCatalogAclEntryForUserOwner
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
GetCatalogItemAclEntryForUserOwner
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

CatalogPathInstance

Outputs

PSDataLakeAnalyticsAcl