Interface IDSSXMLUserProjectPrivilege


  • public interface IDSSXMLUserProjectPrivilege
    This interface is used to access a list of user privileges for an Intelligence Server user in an easy way.
    Since:
    MicroStrategy Web 9.0.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean CheckPrivilege​(java.lang.String projectId, int privilegeType)
      This method determines whether the user has a given privilege.
    • Method Detail

      • CheckPrivilege

        boolean CheckPrivilege​(java.lang.String projectId,
                               int privilegeType)
                        throws MSTRWebAPIException
        This method determines whether the user has a given privilege.
        Parameters:
        privilegeType - A privilege value from the enumeration class EnumDSSXMLPrivilegeTypes.
        Returns:
        true if the user has the given privilege, false otherwise.
        Throws:
        MSTRWebAPIException - Signals an error condition.