As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Hi, i am trying to create a custom user. I have implemented step by step using http://devcenter.kinvey.com/ios/guides/users#UserClass.
I am still getting 3 issues. I want to include 'email' in my custom
user definition as it's an optional field but I get 'cannot override
with a stored property 'email''.plz take a look at screenshot attached.
thanks in advance
Best Answer
P
Pranav J
said
over 6 years ago
Pratap,
'email' is an existing property of 'User' class. You shouldn't include it while creating a custom user. You can directly access it like other properties like 'username'.
I have started looking into it. Will get back to you asap.
Thanks, Pranav Kinvey
P
Pratap Bhosle
said
over 6 years ago
Thanks Pranav
P
Pranav J
said
over 6 years ago
Answer
Pratap,
'email' is an existing property of 'User' class. You shouldn't include it while creating a custom user. You can directly access it like other properties like 'username'.
Thanks,
Pranav
Kinvey Support
P
Pratap Bhosle
said
over 6 years ago
okay Pranav! thanks for your answer. so email is existing property of user class. How to make it compulsory during sign up process as per my app design?
P
Pranav J
said
over 6 years ago
Pratap,
For your use case, you can achieve it by enabling 'Enforce email verification' option on the console-> Users -> Settings panel. When this option is enabled, you will not be able to create a new user that does not have an email address.
Pratap Bhosle
Hi, i am trying to create a custom user. I have implemented step by step using http://devcenter.kinvey.com/ios/guides/users#UserClass. I am still getting 3 issues. I want to include 'email' in my custom user definition as it's an optional field but I get 'cannot override with a stored property 'email''.plz take a look at screenshot attached. thanks in advance
Pratap,
'email' is an existing property of 'User' class. You shouldn't include it while creating a custom user. You can directly access it like other properties like 'username'.
Thanks,
Pranav
Kinvey Support
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstPranav J
I have started looking into it. Will get back to you asap.
Thanks,
Pranav
Kinvey
Pratap Bhosle
Thanks Pranav
Pranav J
Pratap,
'email' is an existing property of 'User' class. You shouldn't include it while creating a custom user. You can directly access it like other properties like 'username'.
Thanks,
Pranav
Kinvey Support
Pratap Bhosle
okay Pranav! thanks for your answer. so email is existing property of user class. How to make it compulsory during sign up process as per my app design?
Pranav J
For your use case, you can achieve it by enabling 'Enforce email verification' option on the console-> Users -> Settings panel. When this option is enabled, you will not be able to create a new user that does not have an email address.
For more information, please refer following link:
http://devcenter.kinvey.com/ios/guides/users#emailverification
Thanks,
Pranav
Kinvey
Pratap Bhosle
pranav, this will help. Thanks. You’re so helpful!
Pranav J
-
Why do I get "Undefined symbols" errors when building with KinveyKit?
-
How do I register push tokens?
-
When using social login, to perform a log-out, do I need to log out of the social network, Kinvey, o
-
How can I assign additional properties to users?
-
Does KinveyKit support 64-bit ARM devices, such as iPhone 5s?
-
Authorization Token Invalid or Expired
-
BOOL and how it is stored in the database.
-
Offline saving throwing errors
-
Custom endpoint not able to form request object
-
Security through business logic
See all 437 topics