java.lang.Object
org.codelibs.jcifs.smb1.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb1.dcerpc.rpc.policy_handle
org.codelibs.jcifs.smb1.dcerpc.msrpc.SamrDomainHandle
Handle for Security Account Manager (SAM) domain operations.
This class represents an open handle to a SAM domain and provides
operations for managing domain users, groups, and aliases.
-
Field Summary
Fields inherited from class org.codelibs.jcifs.smb1.dcerpc.rpc.policy_handle
type, uuid -
Constructor Summary
ConstructorsConstructorDescriptionSamrDomainHandle(DcerpcHandle handle, SamrPolicyHandle policyHandle, int access, rpc.sid_t sid) Creates a new SAM domain handle. -
Method Summary
Methods inherited from class org.codelibs.jcifs.smb1.dcerpc.rpc.policy_handle
decode, encode
-
Constructor Details
-
SamrDomainHandle
public SamrDomainHandle(DcerpcHandle handle, SamrPolicyHandle policyHandle, int access, rpc.sid_t sid) throws IOException Creates a new SAM domain handle.- Parameters:
handle- the DCE/RPC handle for communicationpolicyHandle- the policy handle for this domainaccess- the desired access rightssid- the security identifier of the domain- Throws:
IOException- if an I/O error occurs during handle creation
-
-
Method Details
-
close
Closes this SAM domain handle.- Throws:
IOException- if an I/O error occurs during handle closure
-