Class WinUser.AddUserResult

java.lang.Object
com.install4j.api.windows.WinUser.AddUserResult
Enclosing class:
WinUser

public static class WinUser.AddUserResult extends Object
  • Method Details

    • getType

      public WinUser.AddUserResultType getType()
      The result type (success / specific errors)
      Returns:
      the result type
    • getUserSid

      public String getUserSid()
      The SID (Security Identifier) of the created user in String form. This can be used to unambiguously specify the created user for actions such as 'install service' or 'add windows file rights'.
      Returns:
      the user sid in String form
    • getGroupSid

      public String getGroupSid()
      The SID (Security Identifier) of the used group in String form. This can be used to unambiguously specify the created group for actions such as 'add windows file rights'.
      Returns:
      the group sid in String form
    • isGroupCreated

      public boolean isGroupCreated()
      Check if the local group was newly created
      Returns:
      true if the group was created
    • toString

      public String toString()
      Overrides:
      toString in class Object