The CStaffUser type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetDefaultStaffUser
Obtain the default CStaffUser object for use in operations that require staff member authorization to perform correctly.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetUser
Gets an existing user in iMIS system
Public methodIsInRole
Determines whether the current principal belongs to the specified role. Only valid for iMIS 15 and later; for 10.x it always returns true.
Public methodStatic memberLogin
Logs an existing user into the system by ContactId or UserID if an iMIS user
Public methodStatic memberLoginByUserId(String)
Logs an existing user into the system by UserID if an iMIS user and sets the current AppPrincipal to the logged-in user.
Public methodStatic memberLoginByUserId(String, Boolean)
Logs an existing user into the system by UserID if an iMIS user
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also