CLI Reference > Configuration Management Commands > si projectpermissions
 
si projectpermissions
displays a list of resolved permissions for a specified project for the current or specified user
Synopsis
si projectpermissions [--[no]showHeader] [--targetUser=target user] [(-P project|--project=project)] [-S|--sandbox=sandbox] [--devpath=development path] [--[no]failOnAmbiguousProject]] [--projectRevision=revision] [--cwd=directory] [--hostname=hostname] [--port=port] [--password=password] [--user=username] [(-?|--usage)] [-Fvalue] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--forceConfirm=[yes|no]] [(-F file|--selectionFile=file name)] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]]
Description
si projectpermissions is a command to determine the permissions for the current or specified user for a specified project.
If target user is specified, then the permissions are resolved for that user. However, the user executing this command must have the ResolveOtherUserPermissions permission granted.
If target user is not specified, source permissions are resolved for the currently logged-in user.
* 
If this command is executed for a build project, the permissions are resolved for the mainline project. The output will still display the current build number of the project.
si projectpermissions --project=/Top/project.pj --devpath=DP1 --targetUser=U1 –-showHeader
displays
Project: /Top/project.pj
Development Path: DP1
Target User: U1
------------------
AddMember: allowed
AddMember: allowed
AddProject: allowed
AddSubproject: allowed
AdminProxy: allowed
AdminServer: allowed
ApplyLabel: allowed
ApplyProjectLabel: allowed
BypassChangePackageMandatory: allowed
ChangePackageAdmin: allowed
CheckIn: allowed
Checkpoint: allowed
ConfigureSubproject: allowed
CreateChangePackage: allowed
CreateDevpath: allowed
CreateProject: allowed
CreateSubproject: allowed
DebugProxy: allowed
DebugServer: allowed
DeleteArchive: allowed
DeleteLabel: allowed
DeleteProject: allowed
DeleteProjectLabel: allowed
DeleteRevision: allowed
Demote: allowed
DemoteProject: allowed
Deploy: allowed
DowngradeOtherUserLock: allowed
DropDevpath: allowed
DropMember: allowed
DropProject: allowed
DropSubproject: allowed
EditPolicy: allowed
ExtendDevpath: allowed
FetchRevision: allowed
Freeze: allowed
ImportProject: allowed
Lock: allowed
Login: allowed
ManageEmptyChangePackage: allowed
Metrics: allowed
ModifyAuthor: allowed
ModifyDevpathActivation: allowed
ModifyManualProjectMergeLine: allowed
ModifyMemberAttribute: allowed
ModifyMemberRev: allowed
ModifyMemberRule: allowed
ModifyProjectAttribute: allowed
MoveLabel: allowed
MoveProjectLabel: allowed
OpenProject: allowed
Promote: allowed
PromoteCP: allowed
PromoteProject: allowed
RemoveOtherUserLock: allowed
ResolveOtherUserPermissions: allowed
RestoreProject: allowed
RestrictProject: allowed
SelfReview: allowed
ShareArchive: allowed
SnapshotSandbox: allowed
StagingSystemAdmin: allowed
SuperReview: allowed
Thaw: allowed
ViewDeployRequest: allowed
ViewPolicy: allowed
Options
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
--[no]showHeader
indicates whether to display the header part of the view or not. The header is displayed by default.
--targetUser
indicates the user for whom the permissions need to be resolved.
Diagnostics
See the diagnostics reference page for possible exit status values.
See Also
si memberpermissions