<!--
{
  "documentType" : "article",
  "framework" : "Security",
  "identifier" : "/documentation/Security/session-id-values",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Session ID Values"
}
-->

# Session ID Values

Use these values as placeholders for specific sessions.

## Discussion

You can use these values as the `session` input to the [`SessionGetInfo(_:_:_:)`](/documentation/Security/SessionGetInfo(_:_:_:)) function as a stand-in for specific sessions when you don’t already know the ID for that session. They are *not* returned in the `sessionId` output of that function. Instead, you receive the actual session ID.

## Topics

### Constants

[`var callerSecuritySession: SecuritySessionId`](/documentation/Security/callerSecuritySession)

A value that is a placeholder for the caller’s session.

[`var noSecuritySession: SecuritySessionId`](/documentation/Security/noSecuritySession)

Not a valid session.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)