DefenderResult type
Result indicating success or otherwise of certain operations.
C# syntax
[DataContract]
public class DefenderResult
{
[DataMember]
public bool Success{ get; set; }
[DataMember]
public string ErrorMessage { get; set; }
}
Properties
- Success Indicates whether the operation was successful.
- ErrorMessage Contains an error message in the event of operation failure.
UserViolationCount type
Details of authentication violations and the number of times the violation count has been reset.
C# syntax
[DataContract]
public class UserViolationCount
{
[DataMember]
public string SAMAccountName { get; set; }
[DataMember]
public string CommonName { get; set; }
[DataMember]
public string DN { get; set; }
[DataMember]
public int ViolationCount { get; set; }
[DataMember]
public int ResetCount { get; set; }
}
Properties
- SAMAccountName SAM account name of the user.
- CommonName Common name of the user.
- DN Distinguished name of the user.
- ViolationCount The count of Defender authentication violations.
- ResetCount The number of times the violation count has been reset.
TemporaryResponse type
Details of a temporary response and its expiry time.
C# syntax
[DataContract]
public class TemporaryResponse
{
[DataMember]
public string Response { get; set; }
[DataMember]
public DateTime ExpiryTime { get; set; }
}
Properties
- Response The temporary response assigned to the token.
- ExpiryTime When the temporary response expires.