Command Reference > infacmd aud Command Reference > getUserGroupAssociationForRoles
  

getUserGroupAssociationForRoles

Gets list of roles assigned to users and groups. You can select the roles for which you want to generate report.
Users with the administrator role can run this command.
The infacmd aud getUserGroupAssociationForRoles command uses the following syntax:
getUserGroupAssociationForRoles

<-DomainName|-dn> domain_name
<-UserName|-un> user_name
<-Password|-pd> password
[<-SecurityDomain|-sdn> security_domain]
[<-Gateway|-hp> gateway_host1:port gateway_host2:port...]
[<-ResilienceTimeout|-re> timeout_period_in_seconds]
<-RoleNames|-en> role_names
[<-Format|-fm> format_TEXT_CSV]
[<-OutputFile|-lo> output_file_name]
Note: The infacmd program uses the following common options to connect to the domain: domain name, user name, password, security domain, and resilience timeout. The table of options has brief descriptions. To see detailed descriptions, refer to Connecting to the Domain.
The following table describes infacmd aud getUserGroupAssociationForRoles options and arguments:
Option
Description
-DomainName
-dn
Name of the Informatica domain.
-UserName
-un
User name to connect to the domain.
-Password
-pd
Password for the user name.
-SecurityDomain
-sdn
Name of the security domain to which the domain user belongs.
-Gateway
-hp
Required if the gateway connectivity information in the domains.infa file is out of date. The host names and port numbers for the gateway nodes in the domain.
-ResilienceTimeout
-re
Amount of time in seconds that infacmd attempts to establish or re-establish a connection to the domain.
-RoleNames
-en
Required. Name of the role assigned for users or groups in the domain for which you want to generate the report. For multiple roles, separate each role by a comma at the command line.
-Format
-fm
Optional. Output file format. Valid types include:
  • - Text
  • - CSV
If you do not specify a format, infacmd uses text format with lines wrapped at 80 characters.
-OutputFile
-lo
Optional. Name and file path for the output file.
If you do not specify an output file name, infacmd displays the log events on the screen.