Module jcifs

Class SamrAliasHandle


public class SamrAliasHandle extends rpc.policy_handle
Handle for Security Account Manager (SAM) alias operations. This class represents an open handle to a SAM alias and provides operations for managing alias membership and properties.
  • Constructor Details

    • SamrAliasHandle

      public SamrAliasHandle(DcerpcHandle handle, SamrDomainHandle domainHandle, int access, int rid) throws IOException
      Creates a new SAM alias handle.
      Parameters:
      handle - the DCE/RPC handle for communication
      domainHandle - the domain handle containing this alias
      access - the desired access rights
      rid - the relative identifier of the alias
      Throws:
      IOException - if an I/O error occurs during handle creation
  • Method Details

    • close

      public void close() throws IOException
      Closes this SAM alias handle.
      Throws:
      IOException - if an I/O error occurs during handle closure