Skip to content

Latest commit

 

History

History
118 lines (85 loc) · 2.92 KB

Get-AzDataLakeStoreItemOwner.md

File metadata and controls

118 lines (85 loc) · 2.92 KB
external help file Module Name ms.assetid online version schema
Microsoft.Azure.PowerShell.Cmdlets.DataLakeStore.dll-Help.xml
Az.DataLakeStore
335588D4-4D2C-4DBD-B6B2-B1227C4AF9A9
2.0.0

Get-AzDataLakeStoreItemOwner

SYNOPSIS

Gets the owner of a file or folder in Data Lake Store.

SYNTAX

Get-AzDataLakeStoreItemOwner [-Account] <String> [-Path] <DataLakeStorePathInstance> [-Type] <Owner>
 [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

DESCRIPTION

The Get-AzDataLakeStoreItemOwner cmdlet gets the owner of a file or folder in Data Lake Store.

EXAMPLES

Example 1: Get the owner for a directory

Get-AzDataLakeStoreItemOwner -AccountName "ContosoADL" -Path / -Type User

This command gets the user owner for the root directory of the ContosoADL account.

PARAMETERS

-Account

Specifies the name of the Data Lake Store account.

Type: System.String
Parameter Sets: (All)
Aliases: AccountName

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-DefaultProfile

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

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Path

Specifies the Data Lake Store path of an item, starting with the root directory (/).

Type: Microsoft.Azure.Commands.DataLakeStore.Models.DataLakeStorePathInstance
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Type

Specifies the type of owner to get. The acceptable values for this parameter are: User and Group.

Type: Microsoft.Azure.Commands.DataLakeStore.Models.DataLakeStoreEnums+Owner
Parameter Sets: (All)
Aliases:
Accepted values: User, Group

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

System.String

Microsoft.Azure.Commands.DataLakeStore.Models.DataLakeStorePathInstance

Microsoft.Azure.Commands.DataLakeStore.Models.DataLakeStoreEnums+Owner

OUTPUTS

System.String

NOTES

RELATED LINKS

Set-AzDataLakeStoreItemOwner