Skip to content

Get-VmsRoleOverallSecurity

SYNOPSIS

Gets the overall security settings per security namespace for a role.

SYNTAX

Get-VmsRoleOverallSecurity [-Role] <Role> [[-SecurityNamespace] <String[]>] [<CommonParameters>]

DESCRIPTION

Gets the overall security settings per security namespace for a role. With the exception of the default Administrators role, roles have a collection of "Overall Security" namespaces, each with their own set of permissions.

A security namespace defines a group of related permissions such as "Cameras" or "Management Server". The "Cameras" security namespace defines permissions like "VIEW_LIVE" or "PLAYBACK". The values of all permissions in overall security are either "Allow", "Deny" or "None" with the default value of "None".

Permissions in Milestone are cumulative, with a "Deny" taking priority over any "Allow". For example, if you are a member of Role A and Role B, with Role A giving you permission to export video, but Role B has a "Deny" for the same security attribute, then you will not be allowed to export video.

EXAMPLES

Example 1

Get-VmsRoleOverallSecurity -Role 'Operators' -SecurityNamespace Alarms

Gets the overall security settings for Alarms, for the role named "Operators".

PARAMETERS

-Role

Specifies the role object, or the name of the role.

Type: Role
Parameter Sets: (All)
Aliases: RoleName

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-SecurityNamespace

Specifies the name or ID of an existing security namespace.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

VideoOS.Platform.ConfigurationItems.Role

OUTPUTS

System.Collections.Hashtable

NOTES

Online Help