< Back

Add-NSauthpolicytovserver

Fri Jan 10, 2020 9:32 pm

NAME Add-NSauthpolicytovserver



SYNOPSIS

The Add-NSauthpolicytovserver attaches an authentication policy or login schema to a vserver





SYNTAX

Add-NSauthpolicytovserver [-vserver] <string> [-policy] <string> [[-nextfactor] <string>] [[-priority] <uint>]

[[-session] <nitro_service>] [<CommonParameters>]





DESCRIPTION







PARAMETERS

-session <nitro_service>

This mandatory parameter requires a nitro_service object. This can be requested using the get-nitrosession and

pipelined into this command.



Required? false

Position? 4

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-vserver <string>



Required? true

Position? 0

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-policy <string>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-nextfactor <string>



Required? false

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-priority <uint>



Required? false

Position? 3

Default value 100

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

com.citrix.netscaler.nitro.service.nitro_service

This mandatory parameter requires a nitro_service object. This can be requested using the get-nitrosession and

pipelined into this command.



System.String



System.String



System.String



System.UInt32





OUTPUTS

com.citrix.netscaler.nitro.resource.config.authentication.authenticationvserver_authenticationloginschemapolicy_bin

ding





---------- EXAMPLE 1 ----------



creating an advanced authentication policynew-nsauthpolicytovserver -vserver "AAA-nf-vs" -action "LDAP-apol"

-priority 100





RELATED LINKS