< Back
Get-GoogleDirectoryRoleList
Post
[b]NAME[/b] Get-GoogleDirectoryRoleList
[b]SYNOPSIS[/b]
Gets a list of existing GSuite roles.
[b]SYNTAX[/b]
Get-GoogleDirectoryRoleList [-CustomerId <String>] -BearerToken <String> [-UseCompression] [<CommonParameters>]
Get-GoogleDirectoryRoleList [-CustomerId <String>] [-ProfileLocation <String>] [-Persist] [-UseCompression]
[<CommonParameters>]
[b]DESCRIPTION[/b]
This cmdlet gets a list of existing roles.
[b]PARAMETERS[/b]
-CustomerId <String>
If you are an administrator getting roles in your own domain, use my_customer as the customer ID. This is the
default.
If you are reseller getting roles for one of your customers, use the customer ID returned by the Retrieve a
user operation.
Required? false
Position? named
Default value my_customer
Accept pipeline input? false
Accept wildcard characters? false
-BearerToken <String>
The bearer token to use to authenticate the request.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ProfileLocation <String>
The location where stored credentials are located. If this is not specified, the default location will be used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Persist [<SwitchParameter>]
Indicates that the newly retrieved token(s) or refreshed token and associated client data like client secret
are persisted to disk.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-UseCompression [<SwitchParameter>]
If specified, the returned data is compressed using gzip.
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).
[b]INPUTS[/b]
None
[b]OUTPUTS[/b]
System.Collections.Hashtable[]
This is a JSON representation of the output:
[
[u] "privilegeName": "ROOT_APP_ADMIN",
[b] [b] [b] [b] "isSystemRole": true
[/b][/b][/b][/b][/u]
[b]SYNOPSIS[/b]
Gets a list of existing GSuite roles.
[b]SYNTAX[/b]
Get-GoogleDirectoryRoleList [-CustomerId <String>] -BearerToken <String> [-UseCompression] [<CommonParameters>]
Get-GoogleDirectoryRoleList [-CustomerId <String>] [-ProfileLocation <String>] [-Persist] [-UseCompression]
[<CommonParameters>]
[b]DESCRIPTION[/b]
This cmdlet gets a list of existing roles.
[b]PARAMETERS[/b]
-CustomerId <String>
If you are an administrator getting roles in your own domain, use my_customer as the customer ID. This is the
default.
If you are reseller getting roles for one of your customers, use the customer ID returned by the Retrieve a
user operation.
Required? false
Position? named
Default value my_customer
Accept pipeline input? false
Accept wildcard characters? false
-BearerToken <String>
The bearer token to use to authenticate the request.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ProfileLocation <String>
The location where stored credentials are located. If this is not specified, the default location will be used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Persist [<SwitchParameter>]
Indicates that the newly retrieved token(s) or refreshed token and associated client data like client secret
are persisted to disk.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-UseCompression [<SwitchParameter>]
If specified, the returned data is compressed using gzip.
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).
[b]INPUTS[/b]
None
[b]OUTPUTS[/b]
System.Collections.Hashtable[]
This is a JSON representation of the output:
[
[u] "privilegeName": "ROOT_APP_ADMIN",
[b] [b] [b] [b] "isSystemRole": true
[/b][/b][/b][/b][/u]