Module jcifs

Class SamrPolicyHandle


public class SamrPolicyHandle extends rpc.policy_handle
Handle for Security Account Manager (SAM) policy operations. This class represents an open handle to a SAM server and provides high-level access to SAM database operations.
  • Constructor Details

    • SamrPolicyHandle

      public SamrPolicyHandle(DcerpcHandle handle, String server, int access) throws IOException
      Creates a new SAM policy handle.
      Parameters:
      handle - the DCE/RPC handle for communication
      server - the server name (null defaults to local server)
      access - the desired access rights
      Throws:
      IOException - if an I/O error occurs during handle creation
  • Method Details

    • close

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