Freigeben über


Remove-AzureRmDataLakeAnalyticsCatalogItemAclEntry

Löscht einen Eintrag aus der ACL eines Katalog- oder Katalogelements in Data Lake Analytics.

Warnung

Das AzureRM PowerShell-Modul ist seit dem 29. Februar 2024 offiziell veraltet. Benutzern wird empfohlen, von AzureRM zum Az PowerShell-Modul zu migrieren, um weiterhin Support und Updates zu erhalten.

Obwohl das AzureRM-Modul weiterhin funktioniert, wird es nicht mehr Standard tained oder unterstützt, wobei eine fortgesetzte Verwendung nach Ermessen und Risiko des Benutzers erfolgt. Weitere Informationen zum Übergang zum Az-Modul finden Sie in unseren Migrationsressourcen.

Syntax

Remove-AzureRmDataLakeAnalyticsCatalogItemAclEntry
      [-Account] <String>
      [-User]
      -ObjectId <Guid>
      [-PassThru]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AzureRmDataLakeAnalyticsCatalogItemAclEntry
      [-Account] <String>
      [-User]
      -ObjectId <Guid>
      -ItemType <String>
      -Path <CatalogPathInstance>
      [-PassThru]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AzureRmDataLakeAnalyticsCatalogItemAclEntry
      [-Account] <String>
      [-Group]
      -ObjectId <Guid>
      [-PassThru]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AzureRmDataLakeAnalyticsCatalogItemAclEntry
      [-Account] <String>
      [-Group]
      -ObjectId <Guid>
      -ItemType <String>
      -Path <CatalogPathInstance>
      [-PassThru]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Beschreibung

Das Cmdlet Remove-AzureRmDataLakeAnalyticsCatalogItemAclEntry entfernt einen Eintrag (ACE) aus der Zugriffssteuerungsliste (Access Control List, ACL) eines Katalog- oder Katalogelements in Data Lake Analytics.

Beispiele

Beispiel 1: Entfernen der Benutzer-ACL für einen Katalog

PS C:\> Remove-AzureRmDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -User -ObjectId (Get-AzureRmADUser -Mail "PattiFuller@contoso.com").Id

Mit diesem Befehl wird der Katalog-ACL für Patti Fuller des Contosoadla-Kontos entfernt.

Beispiel 2: Entfernen der Benutzer-ACL für eine Datenbank

PS C:\> Remove-AzureRmDataLakeAnalyticsCatalogItemAclEntry -Account "contosoadla" -User -ObjectId (Get-AzureRmADUser -Mail "PattiFuller@contoso.com").Id -ItemType Database -Path "databaseName"

Mit diesem Befehl wird die Datenbank-ACL für Patti Fuller des Contosoadla-Kontos entfernt.

Parameter

-Account

Gibt den Namen des Data Lake Analytics-Kontos an.

Typ:String
Aliases:AccountName
Position:0
Standardwert:None
Erforderlich:True
Accept pipeline input:True
Accept wildcard characters:False

-Confirm

Hiermit werden Sie vor der Ausführung des Cmdlets zur Bestätigung aufgefordert.

Typ:SwitchParameter
Aliases:cf
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure

Typ:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-Group

Entfernen Sie den ACL-Eintrag des Katalogs für die Gruppe.

Typ:SwitchParameter
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-ItemType

Gibt den Typ des Katalog- oder Katalogelements an. Zulässige Werte für diesen Parameter:

  • Katalog
  • Datenbank
Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:True
Accept wildcard characters:False

-ObjectId

Die Identität des zu entfernenden Benutzers.

Typ:Guid
Aliases:Id, UserId
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:True
Accept wildcard characters:False

-PassThru

Gibt an, dass eine boolesche Antwort zurückgegeben werden soll, die das Ergebnis des Löschvorgangs angibt.

Typ:SwitchParameter
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-Path

Gibt den Data Lake Analytics-Pfad eines Katalog- oder Katalogelements an. Die Teile des Pfads sollten durch einen Punkt (.) getrennt werden.

Typ:CatalogPathInstance
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:True
Accept wildcard characters:False

-User

Entfernen Sie den ACL-Eintrag des Katalogs für den Benutzer.

Typ:SwitchParameter
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.

Typ:SwitchParameter
Aliases:wi
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

Eingaben

String

Guid

CatalogPathInstance

Ausgaben

Boolean