I am added the CAS AUTHENTICATION plugin for people to use an existing auth mechanism. The auth mechanism works but I want to create a user with the default role as a subscriber when a person logs in. The CAS plugin had some sample code for it where it would call a function
wpmu_signup_user($username, $user_email, $sitename ...)
I dont find that function now or anything equivalent to it. If I have to create a user for a given username and an email id. How do I do it ?