Welcome Guest, Not a member yet? Register   Sign In
The Auth Library 1.0.3 - The Easiest Auth Library for CodeIgniter
#37

[eluser]Adam Griffiths[/eluser]
Hey Andrew,

If you want to return the username or user id of the currently logged in user, you can do so using the session library...

Code:
$this->session->userdata('username');

or

Code:
$this->session->userdata('user_id');

Any function I do make would just be a wrapper of that anyway.

I haven't made any plans to include permission based access other than groups and the restrict function.


Thanks.


Messages In This Thread
The Auth Library 1.0.3 - The Easiest Auth Library for CodeIgniter - by El Forum - 03-15-2009, 03:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB