Command Reference > infacmd aud Command Reference > getUserGroupAssociation
  

getUserGroupAssociation

Gets list of users that belong to the group or a list of groups associated with specified users. You can select the users or groups for which you want to generate report.
Users with the administrator role can run this command.
The infacmd aud getUserGroupAssociation command uses the following syntax:
getUserGroupAssociation

<-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]
<<-ExistingUserNames|-eu> existing_user_names|
<-ExistingGroupNames|-eg> existing_group_names>
[<-ExistingSecurityDomain|-esd> existing_security_domain]
[<-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 getUserGroupAssociation 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.
-ExistingUserNames
-eu
Required if you do not use ‑ExistingGroupNames (-eg). Name of the user or a list of users to run the reports. For multiple users, separate each user by a comma at the command line.
-ExistingGroupNames
-eg
Required if you do not use ‑ExistingUserName (-eu). Name of the group or a list of groups to run the reports. For multiple groups, separate each group by a comma at the command line.
-ExistingSecurityDomain
-esd
Required if you use LDAP authentication. Security domain to which the user or group belongs. Default is Native.
-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.