Module jcifs

Class samr.SamrSamEntry

java.lang.Object
org.codelibs.jcifs.smb1.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb1.dcerpc.msrpc.samr.SamrSamEntry
Enclosing class:
samr

public static class samr.SamrSamEntry extends NdrObject
SAMR SAM Entry structure representing a SAM database entry. Contains the relative ID and name of a SAM object.
  • Field Details

    • idx

      public int idx
      The relative ID (RID) of the SAM entry
    • name

      public rpc.unicode_string name
      The name of the SAM entry
  • Constructor Details

    • SamrSamEntry

      public SamrSamEntry()
      Default constructor for SamrSamEntry.
  • Method Details

    • encode

      public void encode(NdrBuffer _dst) throws NdrException
      Description copied from class: NdrObject
      Encodes this NDR object into the specified buffer
      Specified by:
      encode in class NdrObject
      Parameters:
      _dst - the destination buffer for encoding
      Throws:
      NdrException - if encoding fails
    • decode

      public void decode(NdrBuffer _src) throws NdrException
      Description copied from class: NdrObject
      Decodes this NDR object from the specified buffer
      Specified by:
      decode in class NdrObject
      Parameters:
      _src - the source buffer for decoding
      Throws:
      NdrException - if decoding fails