---
title: isEnabled
framework: Collaboration
role: symbol
role_heading: Instance Property
platforms: [macOS 10.5+]
path: collaboration/cbuseridentity/isenabled
---

# isEnabled

Returns a Boolean value indicating whether the identity is allowed to authenticate.

## Declaration

```swift
var isEnabled: Bool { get }
```

## Return Value

Return Value TRUE if the identity can authenticate; otherwise, FALSE.

## Discussion

Discussion If the identity does not have authentication credentials (a password or certificate), it is not able to log in. However, an identity with authentication credentials does not ensure that it is enabled. Any identity can be disabled.

## See Also

### Password Authentication

- [authenticate(withPassword:)](collaboration/cbuseridentity/authenticate(withpassword:).md)
- [certificate](collaboration/cbuseridentity/certificate.md)
