< Back
Invoke-FreeIPAAPIrole_add
Post
NAME Invoke-FreeIPAAPIrole_add
SYNOPSIS
SYNTAX
Invoke-FreeIPAAPIrole_add [[-desc] <String>] [[-setattr] <String[]>] [[-addattr] <String[]>] [-all] [-raw]
[[-version] <String>] [-no_members] [-name] <String> [-FullResultsOutput] [<CommonParameters>]
DESCRIPTION
Add a new role.
PARAMETERS
-desc <String>
A description of this role-group
Required? false
Position? 1
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? 2
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? 3
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? 4
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>
Role name
Required? true
Position? 5
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
SYNOPSIS
SYNTAX
Invoke-FreeIPAAPIrole_add [[-desc] <String>] [[-setattr] <String[]>] [[-addattr] <String[]>] [-all] [-raw]
[[-version] <String>] [-no_members] [-name] <String> [-FullResultsOutput] [<CommonParameters>]
DESCRIPTION
Add a new role.
PARAMETERS
-desc <String>
A description of this role-group
Required? false
Position? 1
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? 2
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? 3
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? 4
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>
Role name
Required? true
Position? 5
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