Grant-DCTemporaryAccess
Syntax
Duration
Grant-DCTemporaryAccess -VaultId <guid> -EntryId <guid> -UserId <guid> -EntryRoleId <guid>
-DurationInMinutes <int> [-Message <string>] [-LinkedEntryIds <guid[]>]
[-HubContext <HubContext>] [<CommonParameters>]TimeFrame
Grant-DCTemporaryAccess -VaultId <guid> -EntryId <guid> -UserId <guid> -EntryRoleId <guid>
-StartTime <datetime> -EndTime <datetime> [-Message <string>] [-LinkedEntryIds <guid[]>]
[-HubContext <HubContext>] [<CommonParameters>]Parameters
-DurationInMinutes
Number of minutes the temporary access stays active
Type: System.Int32
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Duration
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''-EndTime
Moment the temporary access expires
-EntryId
Id of the Hub entry the temporary access is granted on
-EntryRoleId
Id of the Hub entry role granted for the duration of the temporary access
-HubContext
Devolutions Cloud context
-LinkedEntryIds
Ids of the linked entries also covered by the granted temporary access
-Message
Message sent to the user with the granted temporary access
-StartTime
Moment the temporary access becomes active
-UserId
Id of the Hub user the temporary access is granted to
-VaultId
Id of the Hub vault
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Notes
For more information, type "Get-Help Grant-DCTemporaryAccess -detailed". For technical information, type "Get-Help Grant-DCTemporaryAccess -full".
Last updated
Was this helpful?