Get-AdminEffectiveAdministrator
Retrieve the effective administrator objects for a user.
Syntax
Get-AdminEffectiveAdministrator
[-Name] <String>
[-SkipCertificateValidation]
[<CitrixCommonParameters>]
[<CommonParameters>]
Description
This command determines what groups the specified user belongs to and retrieves the matching administrator records. It includes the set of rights that would be granted to the user if he or she used the system.
As this command uses Active Directory to determine what groups the user has, the caller must have the ability to read this information from Active Directory.
Only enabled administrator records are returned.
Examples
EXAMPLE 1
Retrieve the administrator records matching user 'testuser'.
Get-AdminEffectiveAdministrator MYDOMAIN\testuser
Parameters
-Name
User name or ID of user to query
| Type: | String |
| Position: | 2 |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | True (ByValue) |
| Accept wildcard characters: | True |
-SkipCertificateValidation
Forces the cmdlet to skip checking SSL certificates. By default, the cmdlet will check the certificate from the server. If the certificate is not valid, the cmdlet will not connect to the server.
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Required: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
| Introduced in: | Citrix Virtual Apps and Desktop 7 2511 |
CitrixCommonParameters
This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.
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.
Inputs
User name or ID of user to query
Outputs
Citrix.DelegatedAdmin.Sdk.Administrator
Administrator records matching the specified user