< Back

Invoke-FreeIPAAPIpermission_add

Sat Jan 18, 2020 10:14 am

NAME Invoke-FreeIPAAPIpermission_add



SYNOPSIS





SYNTAX

Invoke-FreeIPAAPIpermission_add [[-right] <String[]>] [[-attrs] <String[]>] [[-bindtype] <String>] [[-subtree]

<String>] [[-filter] <String[]>] [[-rawfilter] <String[]>] [[-target] <String>] [[-targetto] <String>]

[[-targetfrom] <String>] [[-memberof] <String[]>] [[-targetgroup] <String>] [[-type] <String>] [[-setattr]

<String[]>] [[-addattr] <String[]>] [-all] [-raw] [[-version] <String>] [-no_members] [-name] <String>

[-FullResultsOutput] [<CommonParameters>]





DESCRIPTION

Add a new permission.





PARAMETERS

-right <String[]>

Rights to grant (read, search, compare, write, add, delete, all)



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-attrs <String[]>

All attributes to which the permission applies



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-bindtype <String>

Bind rule type



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-subtree <String>

Subtree to apply permissions to



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-filter <String[]>

Extra target filter



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-rawfilter <String[]>

All target filters, including those implied by type and memberof



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-target <String>

Optional DN to apply the permission to (must be in the subtree, but may not yet exist)



Required? false

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



-targetto <String>

Optional DN subtree where an entry can be moved to (must be in the subtree, but may not yet exist)



Required? false

Position? 8

Default value

Accept pipeline input? false

Accept wildcard characters? false



-targetfrom <String>

Optional DN subtree from where an entry can be moved (must be in the subtree, but may not yet exist)



Required? false

Position? 9

Default value

Accept pipeline input? false

Accept wildcard characters? false



-memberof <String[]>

Target members of a group (sets memberOf targetfilter)



Required? false

Position? 10

Default value

Accept pipeline input? false

Accept wildcard characters? false



-targetgroup <String>

User group to apply permissions to (sets target)



Required? false

Position? 11

Default value

Accept pipeline input? false

Accept wildcard characters? false



-type <String>

Type of IPA object (sets subtree and objectClass targetfilter)



Required? false

Position? 12

Default value

Accept pipeline input? false

Accept wildcard characters? false



-setattr <String[]>

Set an attribute to a name/value pair. Format is attr=value.

For multi-valued attributes, the command replaces the values already present.



Required? false

Position? 13

Default value

Accept pipeline input? false

Accept wildcard characters? false



-addattr <String[]>

Add an attribute/value pair. Format is attr=value. The attribute

must be part of the schema.



Required? false

Position? 14

Default value

Accept pipeline input? false

Accept wildcard characters? false



-all [<SwitchParameter>]

Retrieve and print all attributes from the server. Affects command output.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-raw [<SwitchParameter>]

Print entries as stored on the server. Only affects output format.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-version <String>

Client version. Used to determine if server will accept request.



Required? false

Position? 15

Default value

Accept pipeline input? false

Accept wildcard characters? false



-no_members [<SwitchParameter>]

Suppress processing of membership attributes.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-name <String>

Permission name



Required? true

Position? 16

Default value

Accept pipeline input? false

Accept wildcard characters? false



-FullResultsOutput [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

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



OUTPUTS

System.Management.Automation.PSObject







RELATED LINKS