Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-6052: Centrify Powershell module to show effective user right from a given comptuer role

Centrify DirectControl ,  

31 December,15 at 10:06 PM

Applied to:
Centrify DirectControl 5.2.3+ on all OS platform
 
Question:
Centrify PowerShell module to show effective user right from a given computer role
 
Answer:
Starting DirectControl 5.2.3 [Centrify Server 2015.1 release], Centrify powershll commands Get-CdmEffectiveUnixRight and Get-CdmEffectiveWindowsRight are enhanced to show effective right from a given computer role  

Get-CdmEffectiveUnixRight
SYNTAX
                    ...
    Get-CdmEffectiveUnixRight -ComputerRole <CdmComputerRole> -User <CdmUser> [-Role <CdmRole>] [-SshRight <CdmSshRight>] [-PamRight <CdmPamRight>]
    [-CommandRight <CdmCommandRight>] [<CommonParameters>]

PARAMETERS
                    ...
    -ComputerRole <CdmComputerRole>
        Specifies the computer role for which you want to get effective UNIX rights. You can specify the computer role by using a CdmComputerRole object.
        
        For example:
        -ComputerRole $comprole

Get-CdmEffectiveWindowsRight
SYNTAX
        ...
    Get-CdmEffectiveWindowsRight -ComputerRole <CdmComputerRole> -User <CdmUser> [-Role <CdmRole>] [-ApplicationRight <CdmApplicationRight>]
    [-DesktopRight <CdmDesktopRight>] [-NetworkRight <CdmNetworkRight>] [<CommonParameters>]

        
    ...
    -ComputerRole <CdmComputerRole>
        Specifies the computer role for which you want to get effective Windows rights. You can specify the computer role by using a CdmComputerRole
        object.
        
        For example:
        -ComputerRole $comprole

For more information, please see Centrify programming guide for detail.
 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.