你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzNetAppFilesVolumeGroupIdListForLDAPUser
获取 LDAP 用户的组 ID 列表
语法
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>]
说明
返回特定 LDAP 用户的组 ID 列表
示例
示例 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 卷的资源 ID
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-Username
需要用户名才能将用户所属的组提取到
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |