InspectorLogin(String,Boolean,String,String,User,Boolean,String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The InspectorLogin() method opens a dialog to allow an inspector to log on.
This overload of the method opens an Inspector dialog that does not contain a Notes text box.
'Declaration
Public Overloads Shared Function InspectorLogin( _
ByVal initialUserID As String, _
ByVal commentsReqd As Boolean, _
ByVal signoffNotes As String, _
ByRef comments As String, _
ByRef inspector As User, _
ByVal hideCertTitle As Boolean, _
ByVal initialComments As String _
) As Boolean
public static bool InspectorLogin(
string initialUserID,
bool commentsReqd,
string signoffNotes,
out string comments,
out User inspector,
bool hideCertTitle,
string initialComments
)
Parameters
- initialUserID
- Required. Holds the default user ID for logging on.
- commentsReqd
- Required. Holds a flag that, if set to true, specifies that comments are required.
- signoffNotes
- Required. Holds the notes to be displayed to explain the sign-off.
- comments
- Output. Holds the comments the user entered.
- inspector
- Output. Holds a user object for the user who did the sign-off.
- hideCertTitle
- Required. Holds a flag that, if set to true, specifies that the 'Certification' title in the Inspector dialog is not displayed.
- initialComments
- Required. Holds the string used to pre-populate the comments text box in the Inspector dialog.
Return Value
Returns true if the user signs off, or false if the user does not
sign-off.