Set Up Users in PS 9.1  - Which pages belong to which module

Hello all,
I'm trying to set up some users in our PS Financials 9.1 environment but I have a little problem.
I don't have much PS experience yet and so I don't know which pages belong to which modules so it is difficult to set up permission lists and roles.
Can anyone tell me where I could find some kind of list of all pages belonging to the different modules?
Kind Regards,
Stijn

Stijn,
One option is to review the delivered roles and permission lists to see what pages are assigned.
Another option is to use a PeopleSoft-delivered page under
PeopleTools->Portal->View Menu Folder Structure
but it tends to be slow to return results. If you start by using the advanced search where Parent Menu Folder = Root, you will get a list of all of the top-level folders.
This page uses the PSPRSMDEFN table, and if you have some expertise in using query, SQL, or some reporting tools, you can query it directly. You can run a simple query like
select * from psprsmdefn where portal_name='EMPLOYEE' and PORTAL_PRODUCT='GL';
for example, to get all of the portal objects for general ledger. The menu/component name is stored in portal_uri_seg1/protal_uri_seg2.
HRMS 9.0 delivered a good app engine report, but it wasn't available in FSCM 9.0. I'm hoping Oracle was smart and made it part of PT8.50, but I haven't checked. Unfortunately, I don't recall the name of the report.
Regards,
Bob

Similar Messages

  • Which table belong to which table

    Wanted to know which table belongs to which tablespace or datafile.
    example table name - ABC
    Facing problem ORA-01653: unable to extend table ABC but no tablespace is mentioned

    Richa wrote:
    Wanted to know which table belongs to which tablespace or datafile.
    example table name - ABC
    Facing problem ORA-01653: unable to extend table ABC but no tablespace is mentionedSELECT TABLESPACE_NAME FROM USER_TABLES WHERE TABLE_NAME = 'ABC';

  • How to find out which field belongs to which table

    Dear all
             How to find out this "Field name:-  LFSNR" belongs to which table.
    regards
    M.Chandra mohan

    Hi
    You can go to SE84.
    ABAP Dictionary --> Fields --> Table fields
    Enter field name and execute. You will get list of table where this field is exist.
    hope it helps
    regards
    Srinivas

  • Dreamweaver CS5 Mac does not remember which items belong to which site after restore * Desperate

    OK so I hope I can explain this OK.
    I needed my HD changed by Apple. So I cloned my drive twice (2 full backups).
    Once I cloned the drive back to the newly installed drive everything seemed OK until I opened Dreamweaver. When the "welcome screen" opens up I click on index.html for one of my sites ( I run 3 ) and it shows the path to it and says it's "not found" well I double checked the exact path it lists and the file is there.
    So I figure no problem I will just use Open and I opened the index file, made my changes, saved and when to go "Put" but it's grayed out. I clicked "Manage Sites" and all my sites are listed.
    So after searching I thought it was a bad site file, I restored it from another backup (Macintosh HD:Users:<username>:Library:Application Support:Adobe:Common:11:Sites:Site Prefs)
    But still same thing.
    I need some serious help as I need to modify my sites a few times a week. I just don't know what I am missing. Everything is where it should be but Dreamweaver acts like it's not.
    Any help??

    OK, got it fixed. Even though it said it was pointed to the correct directory in "local site folder" I picked it again and then it said something like "rebuilding cache". and it worked.
    Thanks!

  • How to set the user's Default joboptions directory?

    Hello Experts,
    When we installed Acrobat Pro 8.x on our Win XP Pro systems our systems were NOT in a Windows Domain.  At that time the default location for user-created/customized joboptions files was:
    C:\Documents and Settings\<Username>\Application Data\Adobe\Adobe PDF\Settings
    where <Username> is the name of the LOCAL Windows user.
    A few years ago we migrated to a Windows Domain and converted our LOCAL users to domain users and disabled, but did not delete, the LOCAL user's account.  We did not remove the LOCAL user's Documents and Settings directory structure either.
    Our users now log into a DOMAIN rather than the LOCAL account.
    As a result of that process the user's Documents and Settings directory structure changed to;
      C:\Documents and Settings\<Username.DOMAINNAME>
    where DOMAINNAME is, of course, our Windows Domain Name.
    Now we are beginning to use Acrobat Distiller joboptions and I notice that when Acrobat/Distiller goes to save a user-created/customized joboptions file the default location has remained;
      C:\Documents and Settings\<Username>\Application Data\Adobe\Adobe PDF\Settings
    which is NOT the user who is logged in
    Acrobat/Distiller should use the Documents and Settings directory of the user who is actually logged in which is;
      C:\Documents and Settings\<Username.DOMAINNAME>\Application Data\Adobe\Adobe PDF\Settings
    This anomaly has created some confusion and appears to have created a dependency of the old LOCAL user's Documents and Settings directory preventing us from deleting it.
    Question:
    How can we force Acrobat/Distiller to use the Documents and Settings directory of the logged in user (eg: the Domain user)?
    In other words, how do we set the user's default joboptions directory?
    Pointers/tips/and tricks are most welcome.

    if the user is the one running the program, you can always get the home directory using System.getProperties ("user.home");
    If you are trying to get the properties of another user, you could try using setProperties to change the user name first, before getiting the home directory, but it probably won't work because of the security manager. You could read the /etc/passwd file and parse the path out, but once again, the user of the code would have to have appropriate permission.

  • How to set Multi User Environment in the weblogic 5.1 and 6.1 server..(Urgently)

    Hi all,
    I need to know how to set Multi User Environment in the weblogic 5.1
    properties file..
    Here my question is..:)
    1) I have a database with multiple users and having different privileges
    for the users.. and i need to use all the privileges when user aceess
    the database through weblogic server connectionPool.
    2)According to the user privileges i need access the database tables
    content and gives the frontEnd(jsp).
    3)How to modify dynamically weblogic.properties file in the weblogic
    5.1.
    If anybody having idea reg. this issues pl...help me..
    Thanks in advance
    Chandu([email protected],[email protected])

    Hi. A JDBC connection pool is a set of identical, interchangeable, pre-made
    connections, and the controls to make sure only one user uses a particular
    connection at any one time. If you want to have different DBMS users, you can
    have a separate pool for each DBMS user, which may contain as many or few
    connections as you want. Some applications has a pool for the accounting
    applications, and another for the sales applications etc. Some do have a
    separate pool for john, jane, joe etc, each with one connection. Pools
    can be created and destroyed dynamically using the dynamic pool API.
    Joe
    softstar wrote:
    >
    Hi all,
    I need to know how to set Multi User Environment in the weblogic 5.1
    properties file..
    Here my question is..:)
    1) I have a database with multiple users and having different privileges
    for the users.. and i need to use all the privileges when user aceess
    the database through weblogic server connectionPool.
    2)According to the user privileges i need access the database tables
    content and gives the frontEnd(jsp).
    3)How to modify dynamically weblogic.properties file in the weblogic
    5.1.
    If anybody having idea reg. this issues pl...help me..
    Thanks in advance
    Chandu([email protected],[email protected])

  • Setting dynamic user in Approval task

    While setting the user at runtime for approval task, I have created a Task Assignment adapter and associate the adapter in the assignment tab for the approval task. I have used reassignApprovalTasksToUser method of tcRequestOperationsIntf class. I have passed the task instance id as well as the user key. From the system console I am able to find that the adapter is invoked.
    I have suppress the standard approval process using tcComplete task adapter.
    When the requestor make the request and goto approval details page the system is showing the request is pending to the re-assigned user however when I login into the console using re-assigned user credential no request is pending in his work busket. What I observed, the request is pending in xelsysadm work busket.
    Would appreciate if someone let me know the step which I am missing.

    Yes, I suppressed the "Approve" Task in standard approval process.
    Can you please let me know how to mapped the key type in the task assignment adapter.
    I have created two variables in the adapter and mapped those two variables from the assignment tab of the approval task.
    I have seen there are two more variables in the Adapters, "Adapter return value for Key type" and "Adapter return value for Key" and these two adapter variables are mapped as "Set at runtime".
    How do I map these two variable?
    No I do not find any exception with regard to execution of the task assignment adapter in the log.

  • Set a User Status for Quality Notifications only if they are "Activated".

    Hello experts:
    I need to be able to set a User Status for Quality Notifications only if they are "Activated".
    When defects are recorded for an inspection lot, a "Defect Notification" is created which can be activated to become a "Quality Notification".  Initially, the only difference between the inactive "Defect Notification" and the active  "Quality Notification" is that  the system status DEFR is active for the "Defect Notification", but is cleared when the notification is activated.
    So, I'm looking for the business process associated with the Activation to use as a trigger for my own user status.
    I checked the business rules for status DEFR and found that the following processes clear this status
      PMM1 -  Postpone Notification
      PMM2 -  Put Notification In Process
      PMM3 -  Assign Order
      PMM6 -  Put Notification In Process Again
    Any Ideas ?

    Perhaps some additional information would help you understand what I need to do.
    For notification type F3, we are recording all defects found in production.
    Most of these are expected defects that result in a minor reduction in yield.
    For this type of defect, we do not activate the notification, and the inspection lot is closed automatically at the end of production.
    However, sometimes defects are observed of an unexpected type or a higher than expected quantity.
    When this happens we manually activate the notification and assign tasks to find and correct the cause.
    It is only for these activated notifications that I want to automatically set a user status, which among other things, will prevent the notification from being closed until some other actions are complete and a different user status is selected.
    The function of the user status currently works exactly as I want, but if it is set as the initial status for all F3 notifications, it is also preventing the un-activated defect notifications from automatically closing.  I therefore want to use the Activation event as the trigger to set my user status.

  • Set Default User Agent

    Safari 4.0.3
    Is there a way to Set the Default User Agent to Iphone 3 and the user agent does not revert back when the Safari is restarted.
    Current when I set the user agent to Iphone 3 and then restart the browser the Iphone 3 user agent is not retained. Is there a way to ensure that the Iphone 3 user agent is retained after a restart ?

    So my question = is there a possibility to set "Internet Explorer 9" as default User agent string.
    How about taking the tack that Compatibility Settings uses?  Its default is IE7 and it is semi-persistent, apparently lasts until you clear your Cookies for it.  So, what is in the Cookie?  If it says make UAS = IE7  perhaps you could
    change it to be something else?  Alternatively, find out how IE7 becomes that procedure's default and see if there is something in that path which is changeable.  Use ProcMon to investigate these ideas.
    Alternatively, on another tack, look at the implementation of the Microsoft list, in IECompatData.xml.   Some, apparently, have experimented with making custom changes in there.  Then a problem would be that they would have to disable regular
    checking and updating of that list or that again, their modifications would only be semi-persistent, and thus they would have to be prepared to periodically, on an unknown schedule, have to be ready to reassert their modifications.
    FYI
    Robert Aldwinckle

  • Device (dashboard) is not set in (user) delivery profile

    I'm getting the following error when I run an agent for all users:
    Device (dashboard) is not set in (user) delivery profile
    Looking on Oracle support I found that there is a bug logged for it (13972011) which has a patch that can be applied. However, last week I applied the 11.1.1.6.6 patch to the system. Looking at the patches I applied Patch 14791926 says it fixes bug 13972011. However, I'm still seeing the issue.
    Any ideas?

    Srini Thankyou for you reply,
    I am not very good at Ibots yet...
    I have SA system subject area and when user login, under account user can see system delivery profile.
    I am able to send ibots to all the user id's who are in SA system table but not ALERTS.
    Thanks and Regards

  • Make diffrence between values set by user and others by binding

    Hello, I'm working with comboboxes. Selected Value is sometime set by user and somtimes set by bindings. I have to launch actions only when the selected value is set by user. Is there any possible way to do it? Thank a lot.

    If the value selected is dependent from the value chosen by user and depending on other data at once
    This sounds like you have one variable representing two distinct things; but maybe your requirements somehow necessitate this.
    Here's what I meant. I have a background thread (using a Timeline) which changes the combo box randomly every two seconds. (This is a mockup of your requirement of it depending on another value.) The output to the console happens only if the user changes the combo box manually.
    import java.util.Random;
    import javafx.animation.Animation;
    import javafx.animation.KeyFrame;
    import javafx.animation.Timeline;
    import javafx.application.Application;
    import javafx.beans.property.SimpleStringProperty;
    import javafx.beans.property.StringProperty;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.ComboBox;
    import javafx.scene.layout.StackPane;
    import javafx.stage.Stage;
    import javafx.util.Duration;
    public class ComboBoxUpdateTest extends Application {
        @Override
        public void start(Stage primaryStage) {
            final String[] values = { "One", "Two", "Three", "Four" };
            final StringProperty value = new SimpleStringProperty();
            final ComboBox<String> combo = new ComboBox<>();
            combo.getItems().addAll(values);
            value.addListener(new ChangeListener<String>() {
                @Override
                public void changed(ObservableValue<? extends String> observable,
                        String oldValue, String newValue) {
                    combo.setValue(newValue);
            combo.valueProperty().addListener(new ChangeListener<String>() {
                @Override
                public void changed(ObservableValue<? extends String> observable,
                        String oldValue, String newValue) {
                    if (!newValue.equals(value.get())) {
                        System.out.printf("User changed combo box value from %s to %s%n", oldValue, newValue);
            // Randomly change value every 2 seconds:
            final Random rng = new Random();
            Timeline timeline = new Timeline(new KeyFrame(Duration.seconds(2),
                    new EventHandler<ActionEvent>() {
                        @Override
                        public void handle(ActionEvent event) {
                            value.set(values[rng.nextInt(values.length)]);
            timeline.setCycleCount(Animation.INDEFINITE);
            timeline.play();
            StackPane root = new StackPane();
            root.getChildren().add(combo);
            primaryStage.setScene(new Scene(root, 300, 200));
            primaryStage.show();
        public static void main(String[] args) {
            launch(args);

  • Cannot set up users on iMac since I updated to 10.4.4.  Please help!

    I have just rebuilt 2 of my computers in my class room and when I start the computer up I only get the admin screen to log into the server. I cannot set up users in preferences. I can get online and connect to the server via admin but my students cannot log in with their own accounts. What have I done wrong?

    Recently I updated to Leopard 10.4.6
    You appear to confused with which which Mac OS you have;     Leopard is 10.5
    you mention:   10.6,  10.4 and 10.5
    Click on the Apple menu > About this Mac this will show the actual Mac OS you have
    I looked in applications on the harddrive and iwork version 4.0
    There is no such version as "iWork 4"
    open Keynote and go to Keynote > About Keynote
    Provide the correct information and you will get a reply based on the correct software versions

  • Needs steps for Printer setting for User-customized Paper Size

    Hii
    I need steps for Printer setting for User-customized Paper Size
    for my requirement i hav to design this for a paper which is 9cm length and width 23cm and printer is Laser printer
    Thanks
    Ravi

    Hi ,
    Kindly send me materials regarding printer configuration , I need to confiure a printer .Kindly help me.
    My ID  is rakeshhaari at gmail dot com
    Regards,
    Hari

  • Hello,  I have a strange file in my Users folder, named PortDetect.log I have no idea which app created it and it reappears when I delete it.  Has anyone got the same file? Or know where it may originate from?  Thanks in advance!

    Hello,
    I have a strange file in my Users folder, named PortDetect.log
    I have no idea which app created it and it reappears when I delete it.
    Has anyone got the same file? Or know where it may originate from?
    Thanks in advance!

    know where it may originate from?
    The Huawei wireless modem driver.

  • How to set Current User in moss 2007 for Authentication....

    Hi Team,
    We have current running website where we have user id to login but now requirement is that user will login with his Email address. Email is stored in active directory, I'm able to login with fba authentication.  
    I'm able to retrieve the user id of current user using Email but
    I am NOT able to set that user id for current user for further authentication using Moss 2007.
    Please find the source code for login and authentication page:
    //---------------------------Login Page--------------------//
        public partial class Login : System.Web.UI.UserControl
            #region Decleration
            string LoginStatus = null;
            string UserCurrent = null;
           static SPUser siteuser;
           // private static string _randomNumbercheck;
            //private static bool IsLoggedin;      
            Random random;
            #endregion       
            #region Page Load
            protected void Page_Load(object sender, EventArgs e)
                this.hplchangepw.Visible = false;
                this.hplmytask.Visible = false;
                string desturl = SPContext.Current.Site.Url;
                if (!IsPostBack)
                    try
                        string str;
     SPWeb web = SPContext.Current.Web;
                             SPUser siteuser = web. .CurrentUser; 
                        //SPUser siteuser = spWeb.EnsureUser(username);
                        str = (siteuser == null ? "" : siteuser.ToString());
                        this.Login.TitleText = "";
                        this.Login.DestinationPageUrl = desturl;
                        //if (HttpContext.Current.Request.UrlReferrer != null)
                        //    if (this.Page.User.Identity.IsAuthenticated && ((Session["test1"].ToString() == _randomNumbercheck) || LoginControl.Class1.IsLoggedIn))
                         if (this.Page.User.Identity.IsAuthenticated)
                               // _randomNumbercheck = "";
                                this.hplregister.Visible = false;
                                this.hplforgetpassw.Visible = false;
                                this.hplchangepw.Visible = true;
                                this.hplmytask.Visible = true;
                                this.Login.Visible = false;
      if (str.StartsWith("fba_"))
                                    string name = str.Split(':').GetValue(1).ToString();
                                    LoginnameLbl.Text = "<b>" + name.ToString() + "</b>,<br><br>Haryana Urban Development Authority Welcomes
    You. <br><br><br><b><i>\"In The Service Of Masses\"</i></b>";
                                else
                                    string name = str.Split('\\').GetValue(1).ToString();
                                    LoginnameLbl.Text = "<b>" + name.ToString() + "</b>,<br><br>Haryana Urban Development Authority Welcomes
    You. <br><br><br><b><i>\"In The Service Of Masses\"</i></b>";
                            else
                                this.hplchangepw.Visible = false;
                                this.hplmytask.Visible = false;
                                this.Login.Visible = true;
                                LoginnameLbl.Text = "";
                                HttpContext.Current.Session.Clear();
                                HttpContext.Current.Session.Abandon();
                    catch (Exception ex)
                        //HttpContext.Current.Session.Clear();
                        //HttpContext.Current.Session.Abandon();
            #endregion
            #region Get Audit Informations
            public void GetUserInfo()
                try
                    string user = Login.UserName;
                    SPSecurity.RunWithElevatedPrivileges(new SPSecurity.CodeToRunElevated(delegate()
                        using (SPSite oSite = new SPSite(SPContext.Current.Site.ID))
                            using (SPWeb web1 = oSite.OpenWeb(SPContext.Current.Web.ID))
                                SPListItem item = null;
                                SPListItemCollection listItems = null;
                                web1.AllowUnsafeUpdates = true;
                                siteuser = web1.EnsureUser(Session["User"].ToString());// spWeb.EnsureUser(login);
                                listItems = web1.Lists["Audit_Trail"].Items;
                                item = listItems.Add();
                                item["User_ID"] = UserCurrent.ToString(); //Request.ServerVariables["AUTH_USER"];
                                string ip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
                                if ((ip == null) || (ip == "") || (ip.ToLower() == "unknown"))
                                    ip = Request.ServerVariables["REMOTE_ADDR"];
                                item["IP_Address"] = ip;
                                item["Login_Date"] = System.DateTime.Now;
                                item["Login_Status"] = LoginStatus.ToString();
                                item.Update();
                                web1.AllowUnsafeUpdates = false;
                                web1.Dispose();
                                oSite.Dispose();
                catch (Exception ex)
            #endregion
            #region MD5Encryption
            private string MD5Encryption(string strToEncrypt)
                System.Text.UTF8Encoding ue = new System.Text.UTF8Encoding();
                byte[] bytes = ue.GetBytes(strToEncrypt);
                // encrypt bytes
                System.Security.Cryptography.MD5CryptoServiceProvider md5 = new System.Security.Cryptography.MD5CryptoServiceProvider();
                byte[] hashBytes = md5.ComputeHash(bytes);
                // Convert the encrypted bytes back to a string (base 16)
                string hashString = "";
                for (int i = 0; i < hashBytes.Length; i++)
                    hashString += Convert.ToString(hashBytes[i], 16).PadLeft(2, '0');
                return hashString.PadLeft(32, '0');
            #endregion
            #region Generate Random Code
            private string GenerateRandomCode()
                random = new Random();
                string s = "";
                for (int i = 0; i <= 6; i++)
                    s = string.Concat(s, this.random.Next(10).ToString());
               // _randomNumbercheck = s;
                return s;
            #endregion
            #region Generate Random String
            public string GenerateHashKey()
                StringBuilder myStr = new StringBuilder();
                myStr.Append(Request.Browser.Browser);
                myStr.Append(Request.Browser.Platform);
                myStr.Append(Request.Browser.MajorVersion);
                myStr.Append(Request.Browser.MinorVersion);
                myStr.Append(Request.LogonUserIdentity.User.Value);
                SHA1 sha = new SHA1CryptoServiceProvider();
                byte[] hashdata = sha.ComputeHash(Encoding.UTF8.GetBytes(myStr.ToString()));
                return Convert.ToBase64String(hashdata);
            #endregion
            #region Check User Authentication
            protected void Login_Authenticate(object sender, AuthenticateEventArgs e)
                Utility hu=new Utility();
                int CheckValue = 0;
                string user = Login.UserName;
                if(user.Contains("@"))
                    CheckValue=1;
                //Encrypted Password
                string HPassword = hash.Value;
                // Verify that the username/password pair is valid
                SqlConnection con = new SqlConnection();
                SqlCommand cmd = new SqlCommand();
                con.ConnectionString = System.Configuration.ConfigurationSettings.AppSettings["FBAPortalConnection"];
                if (con.State == ConnectionState.Closed)
                    con.Open();
                cmd.CommandType = CommandType.StoredProcedure;
                cmd.CommandText = "sp_Portal_ValidatePortalUser";
                cmd.Connection = con;
                cmd.Parameters.Add("@ID", SqlDbType.NVarChar, 256).Value = Login.UserName;
                cmd.Parameters.Add("@Password", SqlDbType.NVarChar, 300).Value = HPassword.ToString();
                cmd.Parameters.Add("@CheckVal", SqlDbType.Int).Value = CheckValue;
                cmd.Parameters.Add(new SqlParameter("@P_Return", SqlDbType.NVarChar, 256));
                cmd.Parameters["@P_Return"].Direction = ParameterDirection.Output;
                cmd.ExecuteNonQuery();
                string CurrentUserName = cmd.Parameters["@P_Return"].Value.ToString();
                cmd.Dispose();
                con.Close();
                //int x = hu.ValidatePortalUser(Login.UserName, HPassword.ToString(), CheckValue);
                if (CurrentUserName != "0")
                    Page.Session["User"] = CurrentUserName;
                    string UserName = Session["User"].ToString();
                    UserCurrent = UserName;
                    LoginStatus = "Successfull";
                    GetUserInfo();
                    e.Authenticated = true;
                    //Session["CustomAuthKey"] = MD5Encryption(Request.ServerVariables["Remote_Addr"] + Request.ServerVariables["Http_Cookie"] + Request.ServerVariables["Auth_User"]);
                    Session["CustomAuthKey"] = MD5Encryption(Request.ServerVariables["Remote_Addr"] + Request.ServerVariables["Http_Cookie"] + UserCurrent.ToString());
                    FormsAuthenticationTicket tkt;
                    String cookiestr;
                    HttpCookie ck;
                    tkt = new FormsAuthenticationTicket(1, UserName, DateTime.Now, DateTime.Now.AddMinutes(15), false, GenerateHashKey());
                    cookiestr = FormsAuthentication.Encrypt(tkt);
                    ck = new HttpCookie(FormsAuthentication.FormsCookieName, cookiestr);
                    ck.Path = FormsAuthentication.FormsCookiePath;
                    Response.Cookies.Add(ck);
                else
                    // Username/password are not valid...
                    Login.FailureText = "Invalid Username / password";
                    e.Authenticated = false;
            #endregion
            #region Login Error
            protected void Login_LoginError(object sender, EventArgs e)
                // Determine why the user could not login
                Login.FailureText = "Your login attempt was not successful. Please try again.";
                // Does there exist a User account for this user
                MembershipUser usrInfo = Membership.GetUser(Login.UserName);
                if (usrInfo != null)
                    // Is this user locked out?
                    if (usrInfo.IsLockedOut)
                        Login.FailureText = "Your account has been locked out because of too many invalid login attempts. Please contact the administrator to have your account unlocked.";
                    else if (!usrInfo.IsApproved)
                        Login.FailureText = "Your account has not yet been approved. You cannot login until an administrator has approved your account.";
                    else
                        Login.FailureText = "Invalid UserName / Password";
                        UserCurrent = usrInfo.UserName;
                        LoginStatus = "UnSucessfull";
                        GetUserInfo();
                else
                    Login.FailureText = "Invalid UserName / Password";
            #endregion
            #region Logged In
            protected void Login_LoggedIn(object sender, EventArgs e)
                string UserName = Session["User"].ToString();           
                LoginControl.Class1.IsLoggedIn = true;
                //If User Email is [email protected] it will be invalid. Prompt the user to update the email id. 
                LoginControl.Utility hu = new LoginControl.Utility();
                DataSet dsuser = hu.getUserDetails(UserName);
                string email;
                if (dsuser.Tables[0].Rows.Count > 0)
                    email = dsuser.Tables[0].Rows[0]["Email"].ToString();
                    if (email.Equals("[email protected]"))
                        Response.Redirect("/Pages/UserUpdates.aspx", true);
                    else
            #endregion
    //-------------------------------- Authentication code----------------------------//
      private void authenticateuser()
                try
                    if (SPContext.Current.Web.CurrentUser != null)
                        using (SPSite spSite = new SPSite(SPContext.Current.Site.Url))
                            using (SPWeb spWep = spSite.OpenWeb())
                                Utility hu = new Utility();
    _userid = spWep.CurrentUser.Name;
                                DataSet ds = new DataSet();
                                ds = hu.GetPlotid(_userid);
                                if (ds.Tables[0].Rows.Count > 0)
                                    _plotid = ds.Tables[0].Rows[0]["plotid"].ToString();
                                else
                                    if (!SPContext.Current.Web.UserIsSiteAdmin && !SPContext.Current.Web.UserIsWebAdmin)
                                        if (!SPContext.Current.Web.IsCurrentUserMemberOfGroup(SPContext.Current.Web.Groups["Allottee"].ID))
                                            SPUtility.HandleAccessDenied(new Exception("You do not have access to this page"));
                    else
                    { SPUtility.HandleAccessDenied(new Exception("Please login")); }
                catch (Exception ex)
                    //  lblMessage.Text = "Error:" + ex.Message;
                    ShowMessage("Following error has occured while executing the desried event :- " + ex.Message);
    Mohan Prakash

    1. Current work flow :-In web site the user have to register themselves in the web site and enters his details along with user id, password and email id. Once user
    is registered then he will login with his user id and password. The user id is picked from login control and that set in “SPWeb.CurrentUser” as user id and system uses "Membership.ValidateUser" method to Authenticate user for login. 
    2. New Requirement: we would like to facilitate the user to login with Email id as well as user id. 
    Problem: 
    We replaced "Membership.ValidateUser" method to our own method to Authenticate user with email id/user id and password. 
    When user is login with user id and password it is working successfully but in the case of email id and password –“the email id is picked from user control and set as
    "HttpContext.Current.User.Identity.Name" but we are not getting “SPWeb.CurrentUser” and it shows null value.” 
    We are able to get user id from database using email id of user. Please help us how we can set user id in "SPContext.Current.Web.CurrentUser".
    Mohan Prakash

Maybe you are looking for

  • How do I Change my Apple ID on my iPad with IOS7.  The area is grayed put

    How do I Change my Apple ID on my iPad using  IOS7.  The area is grayed out and won't allow it to be changed.  I changed my Apple ID when my email change but when i upgraded ti IOS7 it reverted to the old ID and now won't me change it.

  • J2EE 6.40 Custom Login Module - how to config

    hello all, i am using WAS J2EE 6.40 Sneak Preview edition. Read all i can find about custom login module, in the forum and the online help. still confused. pls help. here is the background info: - i am writing a web app. the EAR file contains 5 ejbs,

  • Flash Builder 4.5 for PHP doesn't update changes

    Hi, I'm guessing this is a very noob issue so I appologise about that. As I said, i'm very new to flex and started using it very recently. This morning I woke up started to make changes in my application. saved them and run them in the browser BUT to

  • SQL Plus giving SP2-0024: Nothing to change error

    I'm just about to lose my mind. I'm running the following in SQL Plus - set echo off set feedback off set linesize 1000 set sqlprompt '' spool c:\TEMP2\App_Eng1.csv replace Select A.OBJECTOWNERID||','||B.OBJECTVALUE1 from PSPROJECTITEM B, PSAEAPPLDEF

  • Dequeue element overhead

    When the Dequeue Element function is used, as in the framework "Producer/Consumer Design Pattern (Events)", how often does the function poll the queue? Does this represent a significant overhead?