| | | Supreme Being
       
Group: Forum Members Last Login: Saturday, June 28, 2008 Posts: 13, Visits: 124 |
| | I want to use the SqlRoleProvider Functions like: IsUserInRole GetUsersInRole GetRolesForUser GetAllRoles in my own source code But Can't because i don't know how i can set a value to Resource object That is an argunet to this functions .please help this my source code: Skelta.SqlRoleProvider.SqlRoleProvider SRP =new Skelta.SqlRoleProvider.SqlRoleProvider(); SRP.GetRolesForUser; //string[] d = new string[50]; //string s1,s2; //Workflow.NET.Resource WRS=new Workflow.NET.Resource(); //WRS = "ss"; //Boolean b; //b = SRP.IsUserInRole("Kevin Lane", "support"); //d = SRP.GetRolesForUser(WRS); //Response.Write("Role1:" + d[0].ToString()); //SRP.IsUserInRole //SRP.GetUsersInRole //SRP.GetRolesForUser //SRP.GetAllRoles
At135803 |
| | | | Supreme Being
       
Group: Forum Members Last Login: Monday, February 16, 2009 Posts: 66, Visits: 72 |
| | |
|
|