Creates new user.
Namespace: CMS.MembershipProviderAssembly: CMS.MembershipProvider (in CMS.MembershipProvider.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- username
- Type: System String
User name
- password
- Type: System String
Password
- Type: System String
E-mail
- passwordQuestion
- Type: System String
Not used
- passwordAnswer
- Type: System String
Not used
- isApproved
- Type: System Boolean
'isApproved' parameter is considered as 'Enabled' property in UserInfo;
- providerUserKey
- Type: System Object
Not used
- status
- Type: System.Web.Security MembershipCreateStatus
If UserInfoProvider's SetUserInfo method throws exception then status is set to 'ProviderError', else it is set to 'Success'
Return Value
Type: MembershipUserSee Also