Get user authenticated user in my application.

Hi
i started work jdeveloper some days ago and i have dificut to get user authenticate in my aplication.
How Can i do this ?
Thanks
package br.com.pernambucanas.businessObject;
import br.com.pernambucanas.valuesObjects.UsuarioVO;
public class UsuarioBO {
public UsuarioVO auteticarUsuario(String suario ){
String loja = "";
//i'm triyng to get it in these point :
//i need to get just one string LOJA:
//---- i'm trying to get through them ---
package br.com.pernambucanas.valuesObjects;
import java.io.Serializable;
public class UsuarioVO implements Serializable {
protected Integer codigo;
protected String usuario;
protected String senha;
protected Boolean permissao;
protected Integer loja;
public String getSenha() {
return senha;
public String getUsuario() {
return usuario;
public void setSenha(String string) {
senha = string;
public void setUsuario(String string) {
usuario = string;
public Integer getCodigo() {
return codigo;
public Boolean getPermissao() {
return permissao;
public void setCodigo(Integer integer) {
codigo = integer;
public void setPermissao(Boolean boolean1) {
permissao = boolean1;
public Integer getLoja() {
return loja;
public void setLoja(Integer integer) {
loja = integer;
//--------- the anothe one classe ---------------
package br.com.pernambucanas.businessObject;
import br.com.pernambucanas.valuesObjects.UsuarioVO;
public class UsuarioBO {
     public UsuarioVO auteticarUsuario(String usuario, Integer codigo, Boolean status, Integer loja) {
          UsuarioVO userVO = null;
          if( status != null && status.booleanValue() ) {
               userVO = new UsuarioVO();
               userVO.setCodigo(codigo);
               userVO.setPermissao(status);
               userVO.setLoja(loja);
userVO.setUsuario(usuario);
          return userVO;

Jose,
how is the user supposed to authenticate to your application and what is the view technology you are using (JSP, UIX or Swing)?
Frank

Similar Messages

  • How to get user attributes from LDAP authenticator

    I am using an LDAP authenticator and identity asserter to get user / group information.
    I would like to access LDAP attributes for the user in my ADF Taskflow (Deployed into webcenter spaces).
    Is there an available api to get all the user attributes through the established weblogic authenticator provider or do i have to directly connect to the LDAP server again?
    Any help would be appreciated

    Hi Julián,
    in fact, I've never worked with BSP iViews and so I don't know if there is a direct way to achieve what you want. Maybe you should ask within BSP forum...
    A possibility would be to create a proxy iView around the BSP iView (in fact: before the BSP AppIntegrator component) which reads the user names and passes this as application params to the BSP component. But this is
    Beginner
    Medium
    Advanced
    Also see http://help.sap.com/saphelp_nw04/helpdata/en/16/1e0541a407f06fe10000000a1550b0/frameset.htm
    Hope it helps
    Detlev

  • How to get User Id in Web dynpro application

    Hi Experts,
    I am running web dynpro application with authentication checkbox set. I want to display user id of the user in my application. I am using following code in Init method of component controller.
    IWDClientUser wdUser = WDClientUser.getCurrentUser();
    WdContext.currentContextElement().setUserName           (wdUser.getClientUserID());
    Here I am getting some integer value as userId.
    I am not using Portals, so solutions suggested for portal are not useful for me .
    Is there any way to get this uset id.
    Thanks in advance

    hi
    try this piece of code
              IWDClientUser wdUser = WDClientUser.getCurrentUser();
              IUser user = wdUser.getSAPUser();
              if (user != null)
                        IUserAccount[] acct = user.getUserAccounts();
                        if(acct[0] != null)
                                  String strUserid = acct[0].getLogonUid();
    wdContext.currentZtms_Fm_Regupdate_InputElement().setAssoid(new String(strUserid));
    Note: Defining the IUser will show an error. To resolve this, within the properties of
    the project, choose Java build path -> Libraries -> Add external jars ->
    com.sap.securities -> lib -> com.sap.security.api. Open this file and retype the code.

  • How i get user info from ldap using java after authenticating user with SSO

    Hi
    I have one jsp/bean application as a partner application with SSO.
    It works fine.
    Now i need to get other attributes of user from LDAP who has logged into the application through SSO.
    using SSO java APIs i only get username, userDN, subscriber info.
    To get user's other attribute i have to user LDAP APIs for that i have to create on Directory Context, for the same i need userpassword.
    so here i my question, how do i get user password after he has logged in thro SSO.
    regards..
    and thanking u in advance
    samir

    Valentina,
    there's no way to get the password value from the directory (it's one way). Of course you can get the hashed (MD4,MD5,SHA-1) base64 encoded value (i.e. the value you see in OiD) but not the 'password'.
    --Olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Get user and user-roles in form based authentication

    How do I get user and roles associated with the user in my bean for "form based authentication".
    regards,
    nirvan.

    HttpServletRequest#getUserPrincipal().
    This has nothing to do with JSF. Form based authentication is part of Servlet spec.
    In JSF you can get the HttpServletRequest by ExternalContext#getRequest().

  • Error when trying to Manage 'User Profile Service Application'

    Hello,
    I'm recently facing an issue two issues
    1. User Profile Service Application: when I goto manage user profile service application I get an error windows and when I look into the logs following is the error with given correlation id "ef9fb09c-ae28-1072-b404-c887d61ed915"
    08/21/2014 09:07:27.53  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (GET:http://gcdwinamzanl002:8081/_layouts/15/ManageUserProfileServiceApplication.aspx?ApplicationID=9826b245%2D1d65%2D408f%2Db252%2D058b3809225f) ef9fb09c-ae28-1072-b404-c887d61ed915
    08/21/2014 09:07:27.75  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     General                        6t8h High     [Forced due to logging gap, cached @ 08/21/2014 09:07:27.50, Original
    Level: Verbose] {0} ef9fb09c-ae28-1072-b404-c887d61ed915
    08/21/2014 09:07:27.75  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Database                       8acb High     [Forced due to logging gap, Original Level: VerboseEx] Reverting to process
    identity ef9fb09c-ae28-1072-b404-c887d61ed915
    08/21/2014 09:07:27.75  w3wp.exe (0x2BB8)                        0x2448 Web Content Management       
     Publishing Cache               f6s5 Medium   ObjectCache size is set to 100 megs. ef9fb09c-ae28-1072-b404-c887d61ed915
    08/21/2014 09:07:27.75  w3wp.exe (0x2BB8)                        0x2448 Web Content Management       
     Publishing                     8zug Medium   PublishingHttpModule.Init() calling AppDomainUnloadListener.Register() ef9fb09c-ae28-1072-b404-c887d61ed915
    08/21/2014 09:07:27.75  w3wp.exe (0x2BB8)                        0x2448 Web Content Management       
     Publishing                     8x0a Medium   AppDomainUnloadListener.RegisterSelf() entered lock(this=38386177) ef9fb09c-ae28-1072-b404-c887d61ed915
    08/21/2014 09:07:27.75  w3wp.exe (0x2BB8)                        0x2448 Web Content Management       
     Publishing                     8x0b Medium   AppDomainUnloadListener.RegisterSelf() about to call HostingEnvironment.RegisterObject(this=38386177) ef9fb09c-ae28-1072-b404-c887d61ed915
    08/21/2014 09:07:27.82  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Asp Runtime                    aj1kp High     [Forced due to logging gap, Original Level: Verbose] SPRequestModule.PreSendRequestHeaders ef9fb09c-ae28-1072-b404-c887d61ed915
    08/21/2014 09:07:27.88  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     General                        6t8h High     [Forced due to logging gap, cached @ 08/21/2014 09:07:27.83, Original
    Level: Verbose] {0} ef9fb09c-ae28-1072-b404-c887d61ed915
    08/21/2014 09:07:27.88  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Database                       8acb High     [Forced due to logging gap, Original Level: VerboseEx] Reverting to process
    identity ef9fb09c-ae28-1072-b404-c887d61ed915
    08/21/2014 09:07:27.91  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:http://gcdwinamzanl002:8081/_layouts/15/ManageUserProfileServiceApplication.aspx?ApplicationID=9826b245%2D1d65%2D408f%2Db252%2D058b3809225f)).
    Execution Time=427.452048 ef9fb09c-ae28-1072-b404-c887d61ed915
    08/21/2014 09:07:27.98  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (Request (GET:http://gcdwinamzanl002:8081/_layouts/15/ManageUserProfileServiceApplication.aspx?ApplicationID=9826b245%2D1d65%2D408f%2Db252%2D058b3809225f)).
    Parent No 
    08/21/2014 09:07:27.98  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (GET:http://gcdwinamzanl002:8081/_layouts/15/ManageUserProfileServiceApplication.aspx?ApplicationID=9826b245%2D1d65%2D408f%2Db252%2D058b3809225f) ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:28.35  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     General                        6t8h High     [Forced due to logging gap, cached @ 08/21/2014 09:07:27.98, Original
    Level: Verbose] {0} ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:28.35  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Authentication Authorization   agb9s Medium   Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:28.39  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (PostAuthenticateRequestHandler). Execution Time=27.712976 ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:28.49  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Monitoring                     nass High     [Forced due to logging gap, cached @ 08/21/2014 09:07:28.39, Original Level: Verbose]
    ____{0}={1} ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:28.49  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Asp Runtime                    aj1kr High     [Forced due to logging gap, Original Level: Verbose] SPRequestModule.PostAuthorizeRequestHandler ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:28.68  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (PublishingHttpModule: PostAuthorizeRequestHandler). Execution
    Time=178.76496 ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:28.85  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Asp Runtime                    aj1km High     [Forced due to logging gap, cached @ 08/21/2014 09:07:28.72, Original Level: Verbose]
    SPRequestModule.PostResolveRequestCacheHandler ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:28.85  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Asp Runtime                    aj1kn High     [Forced due to logging gap, Original Level: Verbose] SPRequestModule.AcquireRequestStateHandler ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:28.88  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Site=/ ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:28.94  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Database                       ahjqp High     [Forced due to logging gap, cached @ 08/21/2014 09:07:28.90, Original
    Level: Verbose] SQL connection time: 0.050592 ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:28.94  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Database                       8acb High     [Forced due to logging gap, Original Level: VerboseEx] Reverting to process
    identity ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.22  OWSTIMER.EXE (0x0968)                    0x3744 SharePoint Foundation          Monitoring                   
     aeh57 Medium   Sql Ring buffer status eventsPerSec = ,processingTime=0,totalEventsProcessed=0,eventCount=0,droppedCount=0,memoryUsed=0 
    08/21/2014 09:07:29.53  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Database                       ahjqp High     [Forced due to logging gap, cached @ 08/21/2014 09:07:28.95, Original
    Level: Verbose] SQL connection time: 0.027536 ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.53  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     General                        6t8b High     [Forced due to logging gap, Original Level: Verbose] Looking up {0}
    site {1} in the farm {2} ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.59  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       umbj High     [Forced due to logging gap, cached @ 08/21/2014 09:07:29.54, Original
    Level: Verbose] Deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.59  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       ahg9p High     [Forced due to logging gap, Original Level: Verbose] Completed deserializing
    the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.65  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       ahg9p High     [Forced due to logging gap, cached @ 08/21/2014 09:07:29.64, Original
    Level: Verbose] Completed deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.65  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       umbj High     [Forced due to logging gap, Original Level: Verbose] Deserializing the
    type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.71  w3wp.exe (0x2BB8)                        0x2448                              
     0x6FB700D                      ahg9p High     [Forced due to logging gap, cached @ 08/21/2014 09:07:29.68, Original Level:
    Verbose] Completed deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.71  w3wp.exe (0x2BB8)                        0x2448 Access Services              
     Administration                 ackn7 High     [Forced due to logging gap, Original Level: Verbose] Tried to obtain setting {0} from Conversion Service
    Application, but it didn't exist. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.80  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       umbj High     [Forced due to logging gap, cached @ 08/21/2014 09:07:29.76, Original
    Level: Verbose] Deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.80  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       ahg9p High     [Forced due to logging gap, Original Level: Verbose] Completed deserializing
    the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.86  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       ahg9p High     [Forced due to logging gap, cached @ 08/21/2014 09:07:29.85, Original
    Level: Verbose] Completed deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.86  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       umbj High     [Forced due to logging gap, Original Level: Verbose] Deserializing the
    type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.91  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       ahg9p High     [Forced due to logging gap, Original Level: Verbose] Completed deserializing
    the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.96  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       umbj High     [Forced due to logging gap, cached @ 08/21/2014 09:07:29.91, Original
    Level: Verbose] Deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:29.96  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       ahg9p High     [Forced due to logging gap, Original Level: Verbose] Completed deserializing
    the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:30.06  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       umbj High     [Forced due to logging gap, cached @ 08/21/2014 09:07:30.01, Original
    Level: Verbose] Deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:30.06  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       ahg9p High     [Forced due to logging gap, Original Level: Verbose] Completed deserializing
    the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:30.12  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       ahg9p High     [Forced due to logging gap, cached @ 08/21/2014 09:07:30.11, Original
    Level: Verbose] Completed deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:30.12  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Configuration                  a16e High     SPAce PrincipalName found  account renamed to NULL SID. Using new name. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:30.12  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Configuration                  a16e High     SPAce PrincipalName found  account renamed to NULL SID. Using new name. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:30.14  w3wp.exe (0x2BB8)                        0x2448 SharePoint Server            
     General                        ahjnd Medium   Constructed a new async cache named Profile Property Cache ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:30.15  w3wp.exe (0x2BB8)                        0x2448 SharePoint Portal Server       User
    Profiles                  ajk4d Medium   UserProfileProperty_WCFLogging::Begin ProfilePropertyServiceClient.ExecuteOnChannel ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:30.15  w3wp.exe (0x2BB8)                        0x2448 SharePoint Portal Server       User
    Profiles                  ajk35 Medium   MossClientBase_WCFLogging::Begin MossClientBase.ExecuteOnChannel ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:30.18  w3wp.exe (0x2BB8)                        0x2448 SharePoint Portal Server       User
    Profiles                  ajk36 Medium   MossClientBase_WCFLogging:: MossClientBase.ExecuteOnChannel -  Executing codeblock on channel ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:31.27  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Claims Authentication          aeax6 High     [Forced due to logging gap, Original Level: Verbose] SPSecurityContext: The SecurityTokenServiceBehavior is attached to the AsymmetricTrustChannel. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:31.94  w3wp.exe (0x2BB8)                        0x2448 SharePoint Foundation        
     Topology                       aeayb Medium   SecurityTokenServiceSendRequest: RemoteAddress: 'http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas'
    Channel: 'Microsoft.IdentityModel.Protocols.WSTrust.IWSTrustChannelContract' Action: 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue' MessageId: 'urn:uuid:3c1f10be-67f6-4335-9245-0af94c65f814' ef9fb09c-fe46-1072-b404-c5bccdc9dc59
    08/21/2014 09:07:34.09  NodeRunnerContent1-ac7a63c6-80a (0x1A00) 0x32DC Search                         Search Platform Services     
     ajhlg Medium   NerioCluster : Got valid (Primary) lease until 2014-08-21T09:10:11.0915676Z/0 for net.tcp://gcdwinamzanl002/C62BA9/AdminComponent1/Services/InvokerService  
    08/21/2014 09:07:34.29  OWSTIMER.EXE (0x0968)                    0x3744 SharePoint Foundation          Monitoring                   
     aeh57 Medium   Sql Ring buffer status eventsPerSec = ,processingTime=0,totalEventsProcessed=0,eventCount=0,droppedCount=0,memoryUsed=0 
    08/21/2014 09:07:35.72  w3wp.exe (0x0C0C)                        0x18F0 SharePoint Foundation        
     Unified Logging Service        b8fx High     ULS Init Completed (w3wp.exe, onetnative.dll) 
    08/21/2014 09:07:35.86  w3wp.exe (0x0C0C)                        0x18F0 SharePoint Foundation        
     Topology                       2myf Medium   Disabling the configuration filesystem and memory caches.
    Abhishek Madan

    Hi Abhishek,
    According to your description, my understanding is that the User Profile Synchronization service stuck on ‘Starting’ or ‘Stopping’.
    Please check whether you installed SQL 2012 Native Client (Pre-requisites) on SharePoint server. If yes, download and install SQL 2008 R2 Native Client from the below location:
    http://download.microsoft.com/download/9/1/3/9138773A-505D-43E2-AC08-9A77E1E0490B/1033/x64/sqlncli.msi
    From the SharePoint server ->control panel -> add/Remove programs , please confirm that the SQL 2008 Native Client is listed.
    Make sure that the farm account is a member of the Administrators group on the server on which you are trying to start the User Profile Synchronization service, then restart the SharePoint Timer Service.
    Set the FIM services to "Local System" before starting the service.
    There is a troubleshooting for User Profile Synchronization Service start issues, please have a look at:
    http://technet.microsoft.com/en-us/library/gg750257(v=office.14).aspx
    Here are some similar posts for you to take a look at:
    http://www.codeproject.com/Articles/358855/user-profile-synchronization-service-not-starting
    http://www.sharepointdiary.com/2012/09/user-profile-synchronization-service-stuck-at-starting.html#ixzz2aX7Wz4GQ
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Where does apex get user details from for login in

    sorry for this stupid question. I have been looking up in google "where does apex get user details from for login in" and nothing answers my question. Basically I wanted to know when you log in your application how does apex know you have access to this application. How does it know you are a valid user because I am creating an application which basically checks if a user exist in one database and also checks if he/she exist in the second database.
    Thanks you and sorry if this is very newbie

    In the page 101 which is the login in page in the login in process. I have this in the source its not working in term of it is not letting me login in anymore even though I exist in the user table.
    DECLARE
    v_access_level number;
    BEGIN
    SELECT count(*)INTO
    v_access_level
    FROM USER
    WHERE UPPER(USER_NAME) = UPPER(:APP_USER);
    IF NVL(v_access_level, 0) !=0 THEN
    wwv_flow_custom_auth_std.login(
        P_UNAME       => :P101_USERNAME,
        P_PASSWORD    => :P101_PASSWORD,
        P_SESSION_ID  => v('APP_SESSION'),
        P_FLOW_PAGE   => :APP_ID||':9'
    ELSE
    wwv_flow_custom_auth_std.login(
        P_UNAME       => :P101_USERNAME,
        P_PASSWORD    => 'YtYuTrFRd',
        P_SESSION_ID  => v('APP_SESSION'),
        P_FLOW_PAGE   => :APP_ID||':9'
    END IF;
    end;
    please bare in mind that my USER table DOES NOT have a password because the authentication scheme as all the details of login in to any systems. I am only trying to check if the username exist in my USER table.
    Thanks

  • Query to find out the time used by an user for an application

    Hello All,
    I want to know the query to find out the whole time used by the user for an application. Please view the below data
    Employee:
    SNO EMP_ID EMP_NAME EMP_DATE LOGIN_TIME LOGOUT_TIME
    1 10 Visu 21-Nov-2010 06:30:00 07:30:00
    2 10 Visu 21-Nov-2010 06:40:00 07:20:00
    3 10 Visu 21-Nov-2010 06:50:00 07:50:00
    4 10 Visu 21-Nov-2010 07:30:00 08:30:00
    5 10 Visu 21-Nov-2010 09:30:00 10:30:00
    By checking the above data we can say that the total time Visu used the application is
    8.30 - 6.30 (From 1,2,3,4 records) = 2hrs
    10.30 - 9.30 (Based on 5th rec) = 1hr
    So the total time Visu used the application would be 3 hrs = 180 mins.
    Could you please help me in getting the result from that data using a query?

    odie_63 wrote:
    I think it may be solved with analytics too.
    with t1 as (
                select 1 sno,10 emp_id,'Visu' emp_name,'21-Nov-2010' emp_date,'06:30:00' login_time,'07:30:00' logout_time from dual union all
                select 2,10,'Visu','21-Nov-2010','06:40:00','07:20:00' from dual union all
                select 3,10,'Visu','21-Nov-2010','06:50:00','07:50:00' from dual union all
                select 4,10,'Visu','21-Nov-2010','07:30:00','08:30:00' from dual union all
                select 5,10,'Visu','21-Nov-2010','09:30:00','10:30:00' from dual
         t2 as (
                select  emp_id,
                        emp_name,
                        emp_date,
                        to_date(emp_date || login_time,'DD-MON-YYYYHH24:MI:SS') login_time,
                        to_date(emp_date || logout_time,'DD-MON-YYYYHH24:MI:SS') logout_time
                  from  t1
         t3 as (
                select  t2.*,
                        case
                          when login_time < max(logout_time) over(
                                                                  partition by emp_id,emp_date
                                                                  order by login_time
                                                                  rows between unbounded preceding
                                                                           and 1 preceding
                            then 0
                          else 1
                        end start_of_group
                  from  t2
         t4 as (
                select  t3.*,
                        sum(start_of_group) over(partition by emp_id,emp_date order by login_time) grp
                  from  t3
         t5 as (
                select  emp_id,
                        emp_date,
                        min(login_time) login_time,
                        max(logout_time) logout_time
                  from  t4
                  group by emp_id,
                           emp_date,
                           grp
    select  emp_id,
            numtodsinterval(sum(logout_time - login_time),'day') time_spent
      from  t5
      group by emp_id
      order by emp_id
        EMP_ID TIME_SPENT
            10 +000000000 03:00:00.000000000
    SQL> SY.

  • Initiall SharePoint Server 2013 setup -- unable to manage new User Profile Service Application

    During initial farm setup, creating an initial User Profile Service Application works fine.  However, once it's created, I cannot 'manage' it through the Manage Service Applications page in central
    admin.
    I get a generic error (Sorry, something went wrong / unexpected error) with a correlation ID that doesn't seem to match any ULS log entries. (Yes, I merged logs from all machines in the farm.)
    A Windows event log entry says:
    A failure was reported when trying to invoke a service application: Endpoint Failure
    Also frequent errors in ULS logs:  (see below)
    UserProfileApplicationNotAvailableException     
    User Profile Application      Proxy failed to retrieve partitions from User Profile Application: Micro…
    SPDistributedCache DataCacheException
    I did notice that the file 'ProfileService.svc does not exist in SharePoint's web services app at the URL you see in the error. (below)
    I also found it interesting that the event log error shows 1 active endpoint and 3 failed endpoints.  I have 2 WFEs and 2 app servers.  But I'm only trying to get the user profile service app running on the application
    servers.  I have deleted and recreated this service app several times under various names (deleted/recreated its app pool as well) and wonder if these other failed endpoints could be orphans from previous instances...
    Any thoughts on how I might successfully create this service application?  I've already been Binging my head against a wall long enough that I would have been better off reinstalling the entire farm...  I may still
    do that.
    FYI, my farm came from a slipstreamed SP1 install package, and received the July CU after several other things were already configured, including the already-failed UP service application.
    Log Name:      Application 
    Source:        Microsoft-SharePoint Products-SharePoint Foundation 
    Date:          8/8/2014 6:11:54 PM 
    Event ID:      8313 
    Task Category:
    Topology 
    Level:         Error 
    Keywords:       
    User:          xyz\sp_farm
    Computer:      spapp1.xyz.local 
    Description: 
    A failure was reported when trying to invoke a service application: EndpointFailure 
    Process Name: w3wp 
    Process ID: 4284 
    AppDomain Name: /LM/W3SVC/560632691/ROOT-1-130519915587486075 
    AppDomain ID: 2 
    Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&authority=https://spapp1:32844/Topology/topology.svc 
    Active Endpoints: 1 
    Failed Endpoints:3 
    Affected Endpoint:
    http://spapp1:32843/3f215b603e634a629875945488863f75/ProfileService.svc 
    Event Xml: 
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> 
      <System> 
        <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" /> 
        <EventID>8313</EventID> 
        <Version>15</Version> 
        <Level>2</Level> 
        <Task>13</Task> 
        <Opcode>0</Opcode> 
        <Keywords>0x4000000000000000</Keywords> 
        <TimeCreated SystemTime="2014-08-08T23:11:54.738080000Z" /> 
        <EventRecordID>14550</EventRecordID> 
        <Correlation ActivityID="{02A1AC9C-1125-6026-E124-A52653003266}" /> 
        <Execution ProcessID="4284" ThreadID="16072" /> 
        <Channel>Application</Channel> 
        <Computer>spapp1</Computer> 
        <Security UserID="S-1-5-21-499312637-3451022336-10712144539-44056" /> 
      </System> 
      <EventData> 
        <Data Name="string0">EndpointFailure</Data> 
        <Data Name="string1">w3wp</Data> 
        <Data Name="int2">4284</Data> 
        <Data Name="string3">/LM/W3SVC/560632691/ROOT-1-130519915587486075</Data> 
        <Data Name="int4">2</Data> 
        <Data Name="string5">urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&amp;authority=https://spapp1:32844/Topology/topology.svc</Data> 
        <Data Name="int6">1</Data> 
        <Data Name="int7">3</Data> 
        <Data Name="string8">http://spapp1:32843/3f215b603e634a629875945488863f75/ProfileService.svc</Data> 
      </EventData> 
    </Event> 
    Log Name:      Application 
    Source:        Microsoft-SharePoint Products-SharePoint Foundation 
    Date:          8/8/2014 6:51:04 PM 
    Event ID:      8313 
    Task Category: Topology 
    Level:         Error 
    Keywords:       
    User:          VANTAGE\sp_farm 
    Computer:      spapp1.vantage.local 
    Description: 
    A failure was reported when trying to invoke a service application: EndpointFailure 
    Process Name: OWSTIMER 
    Process ID: 8472 
    AppDomain Name: DefaultDomain 
    AppDomain ID: 1 
    Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&authority=https://spapp1:32844/Topology/topology.svc 
    Active Endpoints: 1 
    Failed Endpoints:3 
    Affected Endpoint:
    http://spapp2:32843/3f215b603e634a629875945488863f75/ProfileService.svc 
    Event Xml: 
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> 
      <System> 
        <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" /> 
        <EventID>8313</EventID> 
        <Version>15</Version> 
        <Level>2</Level> 
        <Task>13</Task> 
        <Opcode>0</Opcode> 
        <Keywords>0x4000000000000000</Keywords> 
        <TimeCreated SystemTime="2014-08-08T23:51:04.938901900Z" /> 
        <EventRecordID>14596</EventRecordID> 
        <Correlation /> 
        <Execution ProcessID="8472" ThreadID="17360" /> 
        <Channel>Application</Channel> 
        <Computer>spapp1.vantage.local</Computer> 
        <Security UserID="S-1-5-21-499312637-3451022336-10712144539-44056" /> 
      </System> 
      <EventData> 
        <Data Name="string0">EndpointFailure</Data> 
        <Data Name="string1">OWSTIMER</Data> 
        <Data Name="int2">8472</Data> 
        <Data Name="string3">DefaultDomain</Data> 
        <Data Name="int4">1</Data> 
        <Data Name="string5">urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&amp;authority=https://spapp1:32844/Topology/topology.svc</Data> 
        <Data Name="int6">1</Data> 
        <Data Name="int7">3</Data> 
        <Data Name="string8">http://spapp2:32843/3f215b603e634a629875945488863f75/ProfileService.svc</Data> 
      </EventData> 
    </Event> 
    20:22:31.94 SharePoint Portal Server User Profiles cm6y High  
    User Profile Application Proxy failed to retrieve partitions from User Profile Application: Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging
    :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have 6cd1c1f0-5874-4f8e-9c0a-ed1aff342048     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()    
    at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext)  
    20:22:38.16 SharePoint Portal Server User Profiles d22b High  
    Failure retrieving application ID for User Profile Application Proxy 'User Profile Service Application': Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging
    :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have 6cd1c1f0-5874-4f8e-9c0a-ed1aff342048     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()    
    at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_AppID()  
    20:22:44.25 SharePoint Foundation DistributedCache ah24v High  
    [Forced due to logging gap, cached @ 08/08/2014 20:22:38.16, Original Level: Verbose] DistributedCacheClient TransportProperties- ChannelInitializationTimeout '{0}', ConnectionBufferSize '{1}',                                  
    MaxBufferPoolSize '{2}', MaxBufferSize '{3}', MaxOutputDelay '{4}',ReceiveTimeout '{5}'.  
    20:22:55.26 SharePoint Foundation DistributedCache ah24w Unexpected  
    Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache' - Exception 'Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0006>:There
    is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been
    granted for this client account, and check that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.). Additional
    Information : The client was trying to com...  

    Thanks for the suggestion.  I performed the service restarts, and then an iisreset an the two web servers, and the application server that does not run the services.  Finally, I ran iisreset on the application server that does run the services.
    After performing those steps, I still cannot manage the user profile service application.
    ULS log at the time of the attempt contains User Profile Application Proxy errors (in my original post) and am also noticing the following error:
    08:15:21.17 SharePoint Foundation General ajlz0 High Getting Error Message for Exception System.Web.HttpUnhandledException
    (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException:
    This User Profile Application's connection is currently not available. The Application Pool or User Profile Service may not have been started. Please contact your administrator.     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.ProfileAdminPage.get_CurrentApplicationProxy()    
    at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.ManageUserProfileServiceApplicationBase.OnPreRender(EventArgs e)     at System.Web.UI.Control.PreRenderRecursiveInternal()    
    at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean
    includeStag...  

  • Error creating a new user profile service application: The specified database is not a valid synchronization database

    When trying to create a new user profile service application on a new SharePoint install I get the following error:
    "The specified database is not a valid synchronization database"
    The installation then fails and does not create the third database. 
    I found some threads with similar problems but it involved upgrading an existing db.  In this case we want to create a new one.  Here is the relevant ULS log info:
    Starting schema provisioning of SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
    Provisioning the SP15_TEST_ENT_SyncDB database with the script at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\SQL\SPS\drop_procs.sql.
    Provisioning the SP15_TEST_ENT_SyncDB database with a script stream.
    Ensuring that the SP15_TEST_ENT_SyncDB database exists . . .
    The SP15_TEST_ENT_SyncDB database does not exist. 
    It will now be created.
    Setting the AutoClose option to False on the database SP15_TEST_ENT_SyncDB.
    Setting the ArithAbort option to True on the database SP15_TEST_ENT_SyncDB.
    Setting the TruncLogOnChkpt option to True on the database SP15_TEST_ENT_SyncDB.
    Starting schema evaluation of existing SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
    Validate Database: validating sync database
    Validate Database: validation failed: Error code -2
    Application error when access /_admin/NewProfileServiceApplicationSettings.aspx, Error=The specified database is not a valid synchronization database 
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Microsoft.SharePoint.Administration.SPDatabaseException: The specified database is not a valid synchronization database  
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.Administration.SPDatabaseException:
    The specified database is not a valid synchronization database   
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.HandleError(Exception e)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest()   
     at System.Web.UI.Page.ProcessRequest(HttpContext context)   
     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   
     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    I Tried to create another one under a different name (databases also) and I get the same error. 
    The SharePoint instance has the march mandatory update installed.  The sql instance we are using is an existing SQL cluster for other SharePoint poc's. 
    Has anybody seen this issue before? 

    I had the same problem and could not figure out what was wrong for the longest time.  I then had the idea to check in the model system database to see if there were any extra custom tables in that database.  Any tables that are in the model database
    are put into any new database when it is created.  I had some custom tables in the model database so I deleted the custom tables in the model database and deleted the failed user profile service application and its databases and then tried to recreate
    the user profile service application again and it worked with no errors

  • How to find solution for avoiding WARNING J2EE SECUR-00100 ********** user-manager (see application/server descriptors) will no longer be supported in the next release of this product

    HI All,
    We are using Oc4j version 10g 10.1.3 , and while starting conatiner  getting below warning , let me know if anyone have solution for this,.
    14/01/10 01:01:29 ********** user-manager (see application/server descriptors) will no longer be supported in the next release of this product!
    Please take the appropriate actions to migrate to an alternative strategy! **********
    2014-01-10 01:01:29.833 WARNING J2EE SECUR-00100 ********** user-manager (see application/server descriptors) will no longer be supported in the next release
    of this product!

    I just checked my BIOS and my current setting is set at IDE although it also mentions that the default should be AHCI. Currently I have a dual boot of Windows 7 (need it for Tax software) and Arch
    So I guess, when I get the new HDD, I will first set it to AHCI and then install the OSes on it. See if NCQ helps any, and if not I will turn it back and re-install (if I have to). I am planning to have Windows only in virtualbox in the new drive.
    Anyhoo, while I was in the BIOS I found two things which I had questions about :
    1) Under Onboard Devices --> Integrated NIC , my setting is currently set at "On w/PXE" and it says the default should be just "On". Would it be ok to change it back to On since its a single machine and its not booting an OS on any server. I just don't want to have to re-install anything now since I will be doing that in the new HDD.
    2) How would I know whether my BIOS would support a 64 bit OS in Virtualbox? I checked some setting under Virtualization, but they weren't very clear.
    I will edit this post and let you know exactly what settings were present under the Virtualization sub-section.

  • Create users for my application

    Hi! I'd like to make an administrative page so I can create users for my application. Let's say that I have following fields: username, first name, lasta name, password, etc.
    Does anyone have an example? Or a short description about what I have to do.
    Thanks a lot!

    Thanks Jes. I looked at that thread. As it's said there, I created my custom table of users and a function with 2 parameters(username and password).
    I was thinking to make a process which calls my function and take as parametres the (:P101_USERNAME,:P101_PASSWORD). I wrote some code in my function. But when I want to create the process, I got the next error:
    <b>ORA-06550: line 3, column 1: PLS-00103: Encountered the symbol "END" when expecting one of the following: := . ( % ; The symbol ";" was substituted for "END" to continue.</b>
    My function is this:
    create or replace function "AUTENTIFICATION"
    (p_username in VARCHAR2,
    p_password in VARCHAR2)
    return BOOLEAN
    is
    if p_username IS NULL or
    p_password IS NULL then
    return false;
    end if;
    if p_username NOT IN
    (select username
    from users) then
    return false;
    end if;
    if p_password NOT IN
    (select passw
    from users
    where username = 'p_username') then
    return false;
    end if;
    And in the PL/SQL Page Process I'm trying to put the following:
    <b>AUTENTIFICATION(:P101_USERNAME,:P101_PASSWORD) </b>, when I get the error.

  • How to get user count by Planning app in 11.1.2.1

    I have no. of planning apps and I need to get a user count by application.
    I tried to export the security by using LCM but the export doesn't provide the information in a readable format.
    Is there a way to generate a report where I can get the count (user ids) by planning app ?
    Thanks in advance

    Could you not get somebody to run the queries for you they quick and simple
    anyway if you have to go down the filter per user route then maybe you could use maxl and spool the output.
    e.g.
    login admin password on servername;
    spool on to "path\filename.txt";
    display filter on database appname.dbname;
    spool off;
    logout;
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Analytical Services failed to get user's parent group tree with Error

    Hi,
    We have a frequent errror during our weekly batch for an application.
    The context:
    - Essbase Administration Services we are using is version is 9.3.1.
    - 8 applications are calculated during the week-end. The scripts executed are exactly the same for the 8 applications.
    - For example let's say that 5 scripts are launched during the night in the batch for each application (script 1, script 2 ... script 5)
    - App1 and App2 are launched alone and before the 6 others applications as these applications database are 3 x bigger (App1 is calculated alone, then app2 is calculated alone, then app3 to app8 scripts are launched in the same time).
    The issue :
    - We don't see any issue for app3 to app8, the calculation are executed without any problem from script1 to script5.
    - But we have an error in App1 and App2 log when the bath execute script 4 and we see the following error in the server log **
    "Analytical Services failed to get user's parent group tree with Error".
    (** : we don't see any log for script 4 in the application log - it's like the server bypass script 4 to go directly from script 3 to script 5 )
    Nothing special is done in script 4 but just an aggregation of the Year dimension (using a @SUM(@RELATIVE(Year,0)) calculation.
    I think that there is may be a synchronization error with Shared Services but what is strange is that it's always for the same script 4 and the batch is launched at different time every week-end.
    Can the issue be linked to the size of the database of applications (8 Gb) and difficulties for the processor to executes aggregation in a large database volume ?

    Hi,
    According to your description, my understanding is that the error occurred when sending an email to the user in workflow.
    Did you delete the existing Connections before setting NetBiosDomainNamesEnabled?
    If not, I recommend to delete and recreate your AD connections, then set NetBiosDomainNamesEnabled to true.
    Or you can delete the original User Profile Service Application and create a new one, then set the NetBiosDomainNamesEnabled to true and start the User Profile Service Application
     synchronization.
    More reference:
    http://social.technet.microsoft.com/wiki/contents/articles/18060.sharepoint-20xx-what-if-the-domain-netbios-name-is-different-than-the-fqdn-of-the-domain-with-user-profile.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Getting user info with integrated dot net app.

    To start, I know nothing about SAP integration. This has been thrown at me to try to resolve.
    I need to integrate a dot net app into SAP. I need to know who the user is that is accessing my .ascx page.
    I found this:
            Dim userInfo As Map = DirectCast(Request.getAttribute(PortletRequest.USER_INFO), Map)
            lblUserID.Text = DirectCast(userInfo.[get]("user.name.given"), String)
    And This:
    <portlet-app>
    <user-attribute>
    <description>User Given Name</description>
    <name>user.name.given</name>
    </user-attribute>...
    Any help would be appreciated, and again, if you can help I will need complete help, because as Sgt Schultz would always say..
    I know nooooothing...
    Edited by: Raymond Blair on Dec 15, 2008 5:40 PM

    Hello Raymond,
    For developing .NET applications I would recommend you to evaluate [PDK for .NET|https://www.sdn.sap.com/irj/sdn/dotnet?rid=/webcontent/uuid/40be5378-bfa9-2b10-399b-ba5719c0b5b8] ( Portal Development Kit for Microsoft .NET ). As a part of its installation, you get documentation integrated into Visual Studio help. It contains a set of very helpful tutorials.
    Best Regards,
    Rima.

Maybe you are looking for

  • What's wrong with my Mac App store.

    It says I have insufficient funds for my purchase for Grand Theft Auto: San Andreas ($14.99). But I have more than enough money to buy it($15.31). What's going on

  • Circular Logging in exchange 2010

    1.       How to enable circular logging in Exchange 2010 while is in DAG in place. 2.       When enable it will it clear my Transaction Log automatically? Regards

  • Sharing photos from apps to Facebook

    I have several photo apps but none of them seem to let me share a photo to one of th pages I admin, only my personal page. This makes no sense so i assume I'm missing something Thx Paul

  • UNICODE_TYPES_NOT_CONVERTIBLE

    Hi I have this mistake UNICODE_TYPES_NOT_CONVERTIBLE, it is produced when the fm  TABLE_ENTRIES_GET_VIA_RFC is called in 4.6b is working ok, but now in ERP 6.0 the fm not work This a part of the dump Descriptions Die Typen der Operanden "dbtab" und "

  • Need help with $_GET and $_SERVER['QUERY_STRING']

    Hello, What I have is a search, and if a user clicks sort by type, sort should be added to the end of the query string. For some reason its not working. It's probably a simple problem but I'm stuck. What I have is a long query with search information