Module jcifs

Class MsrpcShareGetInfo

All Implemented Interfaces:
DcerpcConstants

public class MsrpcShareGetInfo extends srvsvc.ShareGetInfo
MS-RPC share information retrieval operation. This class implements the Server Service (SRVSVC) ShareGetInfo operation for retrieving detailed information about a network share, including security descriptors.
  • Constructor Details

    • MsrpcShareGetInfo

      public MsrpcShareGetInfo(String server, String sharename)
      Creates a new request to get share information.
      Parameters:
      server - the server name
      sharename - the name of the share to query
  • Method Details

    • getSecurity

      public ACE[] getSecurity() throws IOException
      Returns the security descriptor of the share as an array of ACEs.
      Returns:
      an array of ACE objects representing the share's security descriptor
      Throws:
      IOException - if there is an error retrieving the security information