java.lang.Object
org.codelibs.jcifs.smb.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb.dcerpc.rpc.policy_handle
org.codelibs.jcifs.smb.dcerpc.msrpc.SamrPolicyHandle
- All Implemented Interfaces:
AutoCloseable
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.
-
Field Summary
Fields inherited from class org.codelibs.jcifs.smb.dcerpc.rpc.policy_handle
type, uuid -
Constructor Summary
ConstructorsConstructorDescriptionSamrPolicyHandle(DcerpcHandle handle, String server, int access) Creates a new SAM policy handle. -
Method Summary
Methods inherited from class org.codelibs.jcifs.smb.dcerpc.rpc.policy_handle
decode, encode
-
Constructor Details
-
SamrPolicyHandle
Creates a new SAM policy handle.- Parameters:
handle- the DCE/RPC handle for communicationserver- 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
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-