Get-AzNetAppFilesVolumeGroupIdListForLDAPUser
取得LDAP使用者的群組標識碼清單
語法
Get-AzNetAppFilesVolumeGroupIdListForLDAPUser
-ResourceGroupName <String>
-AccountName <String>
-PoolName <String>
-Name <String>
-Username <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesVolumeGroupIdListForLDAPUser
-Name <String>
-PoolObject <PSNetAppFilesPool>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesVolumeGroupIdListForLDAPUser
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesVolumeGroupIdListForLDAPUser
-InputObject <PSNetAppFilesVolume>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
傳回特定LDAP使用者的群組標識碼清單
範例
範例 1
Get-AzNetAppFilesVolumeGroupIdListForLDAPUser -ResourceGroupName "MyRG" -AccountName "MyAccount" -PoolName "MyPool" -VolumeName "MyVolume" -Username "UserName"
此命令會傳回重設磁碟區 MyVolume 和 user UserName 的 GroupId
參數
-AccountName
ANF 帳戶的名稱
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-InputObject
要取得以傳回LDAPUser GroupIdList的磁碟區物件
類型: | PSNetAppFilesVolume |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-Name
ANF 磁碟區的名稱
類型: | String |
別名: | VolumeName |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-PoolName
ANF 集區的名稱
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-PoolObject
包含要傳回LDAPUser GroupIdList之磁碟區的集區物件
類型: | PSNetAppFilesPool |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-ResourceGroupName
ANF 磁碟區的資源群組
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceId
ANF 磁碟區的資源標識碼
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-Username
需要用戶名稱,才能擷取使用者所屬的群組
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |