Citrix Daas SDK

Import-AdminRoleConfiguration

Imports role configuration data into the Delegated Administration Service.

Syntax

Import-AdminRoleConfiguration
      [-Path] <String>
      [-Force]
      [-LoggingId <Guid>]
      [<CitrixCommonParameters>]
      [<CommonParameters>]
<!--NeedCopy-->
Import-AdminRoleConfiguration
      -Content <String>
      [-Force]
      [-LoggingId <Guid>]
      [<CitrixCommonParameters>]
      [<CommonParameters>]
<!--NeedCopy-->

Description

This command is intended for use by Citrix Studio to import definitions, roles, permissions, and their mappings to operations.

The supplied configuration requires a digital signature; this is used to validate the integrity of the configuration.

Examples

EXAMPLE 1

Imports the contents of ‘C:\MyAdminConfig.xml’ to the Delegated Administration Service.

Import-AdminRoleConfiguration -Path 'C:\MyAdminConfig.xml'
<!--NeedCopy-->

Parameters

-Path

The path to the file containing the role configuration data.

Type: String
Aliases: PSPath
Position: 2
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False

-Content

The content of the role configuration data.

Type: String
Position: Named
Default value: None
Required: True
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Force

Allows older versions of role configuration to replace newer versions.

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

-LoggingId

Specifies the identifier of the high-level operation this cmdlet call forms a part of. Citrix Studio and Director typically create high-level operations. PowerShell scripts can also wrap a series of cmdlet calls in a high-level operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets.

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

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

None

You cannot pipe input into this cmdlet.

Outputs

None

By default, this cmdlet returns no output.

Notes

This command is supplied for infrastructure purposes only and is not intended for public use.

Import-AdminRoleConfiguration