---
title: "queryAutoSignInTokenWithCompletionHandler:"
framework: videosubscriberaccount
role: symbol
role_heading: Instance Method
path: "videosubscriberaccount/vsuseraccountmanager/queryautosignintokenwithcompletionhandler:"
---

# queryAutoSignInTokenWithCompletionHandler:

Retrieves the current Automatic Sign-In token.

## Declaration

```occ
- (void) queryAutoSignInTokenWithCompletionHandler:(void (^)(VSAutoSignInToken *token, NSError *error)) completion;
```

## Discussion

Discussion The framework sets this property to the current Automatic Sign-In token value and authorization status according to information on the person’s Account Account. For more information, see Signing people in to their media accounts automatically.

## See Also

### Signing people in automatically

- [VSAutoSignInToken](videosubscriberaccount/vsautosignintoken.md)
- [VSAutoSignInTokenUpdateContext](videosubscriberaccount/vsautosignintokenupdatecontext.md)
- [VSAutoSignInAuthorization](videosubscriberaccount/vsautosigninauthorization.md)
- [deleteAutoSignInTokenWithCompletionHandler:](videosubscriberaccount/vsuseraccountmanager/deleteautosignintokenwithcompletionhandler:.md)
- [requestAutoSignInAuthorizationWithCompletionHandler:](videosubscriberaccount/vsuseraccountmanager/requestautosigninauthorizationwithcompletionhandler:.md)
- [updateAutoSignInToken:updateContext:completionHandler:](videosubscriberaccount/vsuseraccountmanager/updateautosignintoken:updatecontext:completionhandler:.md)
