OsUserEnrollment
public struct OsUserEnrollment : UserEnrollment
The object containing the user enrollment information for an authenticator
whose credentials are managed by the operating system (like the FaceID).
In this case, there is no notion of Account
: either the authenticator is enrolled at the operating system level
(for all users) or not.
-
Tells whether a given user is enrolled or not.
Declaration
Swift
func isEnrolled() -> Bool
Return Value
true
if the user is enrolled in the OS based authenticator,false
otherwise.