Directly authenticates a user with the current SiteManager
instance, with the userState hash code provided.
Namespace: Cartella.InterfacesAssembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
C# |
---|
bool UnsafeAuthenticate( IUser user, string userStateHash ) |
Visual Basic |
---|
Function UnsafeAuthenticate ( _ user As IUser, _ userStateHash As String _ ) As Boolean |
Visual C++ |
---|
bool UnsafeAuthenticate( IUser^ user, String^ userStateHash ) |
Parameters
- user
- Type: Cartella.Interfaces..::..IUser
User to authenticate as current user of this SiteManager instance
- userStateHash
- Type: System..::..String
Hash code for the user state
Return Value
True if authentication is successfulRemarks
Exception may be thrown if authentication encounters an error.