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 autotune Command Reference
  10. Infacmd bg Command Reference
  11. infacmd ccps Command Reference
  12. infacmd cluster Command Reference
  13. infacmd cms Command Reference
  14. infacmd dis Command Reference
  15. infacmd idp Command Reference
  16. infacmd edp Command Reference
  17. Infacmd es Command Reference
  18. infacmd ihs Command Reference
  19. infacmd ipc Command Reference
  20. infacmd isp Command Reference
  21. infacmd ldm Command Reference
  22. infacmd mas Command Reference
  23. infacmd mi Command Reference
  24. infacmd mrs Command Reference
  25. infacmd ms Command Reference
  26. infacmd oie Command Reference
  27. infacmd ps Command Reference
  28. infacmd pwx Command Reference
  29. infacmd roh Command Reference
  30. infacmd rms Command Reference
  31. infacmd rtm Command Reference
  32. infacmd sch Command Reference
  33. infacmd search Command Reference
  34. infacmd sql Command Reference
  35. infacmd tdm Command Reference
  36. infacmd tools Command Reference
  37. infacmd wfs Command Reference
  38. infacmd ws Command Reference
  39. infacmd xrf Command Reference
  40. infacmd Control Files
  41. infasetup Command Reference
  42. pmcmd Command Reference
  43. pmrep Command Reference
  44. 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

0 COMMENTS

We’d like to hear from you!