Table of Contents

Search

  1. Preface
  2. Command Line Programs and Utilities
  3. Installing and Configuring Command Line Utilities
  4. Using the Command Line Programs
  5. Environment Variables for Command Line Programs
  6. Using infacmd
  7. infacmd as Command Reference
  8. infacmd aud Command Reference
  9. Infacmd bg Command Reference
  10. infacmd cms Command Reference
  11. infacmd dis Command Reference
  12. Infacmd es Command Reference
  13. infacmd ipc Command Reference
  14. infacmd isp Command Reference
  15. infacmd ldm Command Reference
  16. infacmd mrs Command Reference
  17. infacmd ms Command Reference
  18. infacmd oie Command Reference
  19. infacmd ps Command Reference
  20. infacmd pwx Command Reference
  21. infacmd rms Command Reference
  22. infacmd rtm Command Reference
  23. infacmd sch Command Reference
  24. infacmd search Command Reference
  25. infacmd sql Command Reference
  26. infacmd tdm Command Reference
  27. infacmd wfs Command Reference
  28. infacmd ws Command Reference
  29. infacmd xrf Command Reference
  30. infacmd Control Files
  31. infasetup Command Reference
  32. pmcmd Command Reference
  33. pmrep Command Reference
  34. Working with pmrep Files

AssignPermission

AssignPermission

Allows you to add, remove, or update permissions on a global object for a user, group, or the Others default group.
Only the administrator or the current owner of the object can manage permissions on the object.
The AssignPermission command uses the following syntax:
AssignPermission -o <object_type> [-t <object_subtype>] -n <object_name> {-u <user_name> | -g <group_name>} [-s <security_domain>] -p <permission>
The following table describes
pmrep
AssignPermission options and arguments:
Option
Argument
Description
-o
object_type
Required. Type of the object for which you want to manage permissions. You can specify folder, label, deploymentgroup, query, or connection.
-t
object_subtype
Optional. Type of connection object or query. Not required for other object types. For more information about valid subtypes, see AssignPermission.
-n
object_name
Required. Name of the object for which you want to manage permissions. You can use special characters for the object name.
-u
user_name
Required if you do not use the -g option. Name of the user for whom you want to add, remove, or update permissions. Use the -u or -g option, not both.
-g
group_name
Name of the group for which you want to add, remove, or update permissions. Specify “Others” as the group name to change permissions for the Others default group.
Use the -u or -g option, but not both.
You can use special characters for the group name.
-s
security_domain
Required if you use LDAP authentication. Name of the security domain that the user or group belongs to. Default is Native.
-p
permission
Required. Permissions you want to add, remove, or update. You assign read, write and execute permission on a global object. Use the characters r, w, and x to assign read, write, and execute permissions.
The following table describes the object types and values to use with
pmrep
commands:
Object Type
Object Subtype
Query
Shared
Query
Personal
Connection
Application
Connection
FTP
Connection
Loader
Connection
Queue
Connection
Relational


Updated April 22, 2019