/// <summary>
/// USER_INFO_23 Struct for NetUserSetInfo/NetUserGetInfo
/// </summary>
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode)]
private struct USER_INFO_23 {
/// <summary>Pointer to a Unicode string that specifies the name of the user account</summary>
public string usri23_name;
/// <summary>Pointer to a Unicode string that contains a comment associated with the user account.</summary>
public string usri23_full_name;
/// <summary>Pointer to a Unicode string that contains a user comment.</summary>
public string usri23_usr_comment;
/// <summary>Specifies a DWORD value that determines several features. </summary>
public int usri1008_flags;
/// <summary>Pointer to a SID structure that contains the security identifier (SID) that uniquely identifies the user.</summary>
public int usri23_user_sid;
}
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> _
Private Structure USER_INFO_23
Public usri23_name As String
Public usri23_full_name As String
Public usri23_usr_comment As String
Public usri1008_flags As Integer
Public usri23_user_sid As Integer
End Structure
None.
THIS NODE IS MISFILED! There is no USE_INFO_23, there is only USER_INFO_23.
Structrue for NetUserSetInfo & NetUserGetInfo