Sharepoint 2013 assign users to a group

In a test sharepoint 2013 sandbox area that is setup for myself and runs in the cloud,  I am working with 3 test accounts.
I would like to know how to assign these 3 test accounts to the same group.
I would think I need this in a site mailbox.
I am asking this question since this is my first project using sharepoint and no one else in my company is using sharepoint yet.
Thus can you do the following:
1. I would like to know how to assign these 3 test accounts to the same group hopefully in a site mailbox.
2. How would I access this group when I am assigning the task using 'start a process'?

you can achieve this using server side object model which fetches the data from server as below link:
http://sharepoint.stackexchange.com/questions/104465/create-sharepoint-group-and-assign-permission-sharepoint-online
http://www.c-sharpcorner.com/UploadFile/sagarp/programmatically-how-to-add-assign-user-to-a-user-group-in/
you can achieve the same using client side object model which hits server only once using execute query method as below:
http://www.c-sharpcorner.com/Blogs/8244/add-user-to-the-group-in-sharepoint-2010-using-client-object.aspx
try this link for second question hope it wiil be useful:
http://community.spiceworks.com/how_to/show/66248-restrict-a-sharepoint-task-to-its-assigned-user-group
Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing

Similar Messages

  • Sharepoint 2013 Problem - User Personal site never created. Clicking Skydrive/Newsfeed/or Follow

    New 2013 setup.  I created 1 test site.   I'm able to load the site, but If the user clicks on 'Follow', 'Skydrive', or 'Newsfeeds', the user is taken to the personal page that reads:
    We're almost ready!
    While we set things up, feel free to changeyour
    photo, adjustyour
    personal settings, and fill
    ininformation about yourself.
    It could take us a while, but once we're done, here's what you'll get:
    Newsfeedis your social hub where you'll see updates from the people, documents, sites, and tags you're following, with quick access to the apps you've added.
    SkyDrive Prois your personal hard drive in the cloud, the place you can store, share, and sync your work files.
    Sitesgives you easy access to the places you'll want to go.
    There seems to be some sort of user init that never completes. 
    In the log files taken from "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions" I found the following related to an attempt 
    12/05/2012 16:02:26.55     w3wp.exe (0x1AB0)                           0x2324    SharePoint Portal
    Server          User Profiles                     ajxt4    Unexpected    Microsoft.Office.Server.Social.SPSocialFeedManager.GetFeedFor:
    Microsoft.Office.Server.Microfeed.MicrofeedException: WarningPersonalSiteNotFoundCanCreateError :  : Correlation ID:d4f0e79b-2e8c-9054-08c5-674e84005449 : Date and Time : 12/5/2012 1:02:26 PM     at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.CommonPubFeedGetter(SPMicrofeedRetrievalOptions
    feedOptions, MicrofeedPublishedFeedType feedType, Boolean publicView)     at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.GetPublishedFeed(String feedOwner, SPMicrofeedRetrievalOptions feedOptions, MicrofeedPublishedFeedType typeOfPubFeed)    
    at Microsoft.Office.Server.Social.SPSocialFeedManager.Microsoft.Office.Server.Social.ISocialFeedManagerProxy.ProxyGetFeedFor(String actorId, SPSocialFeedOptions options)     at Microsof...    d4f0e79b-2e8c-9054-08c5-674e84005449
    12/05/2012 16:02:26.55*    w3wp.exe (0x1AB0)                           0x2324    SharePoint Portal Server    
         User Profiles                     ajxt4    Unexpected    ...t.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass4b`1.<S2SInvoke>b__4a()    
    at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func)    d4f0e79b-2e8c-9054-08c5-674e84005449
    12/05/2012 16:02:26.55     w3wp.exe (0x1AB0)                           0x2324    SharePoint Portal Server    
         User Profiles                     ajxt4    Unexpected    Microsoft.Office.Server.Social.SPSocialFeedManager.GetFeedFor:
    Microsoft.Office.Server.Social.SPSocialException: No personal site exists for the current user, and a previous attempt to create one failed. Internal type name: Microsoft.Office.Server.Microfeed.MicrofeedException. Internal error code: 80.    
    at Microsoft.Office.Server.Social.SPSocialUtil.TryTranslateExceptionAndThrow(Exception exception)     at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func)    
    at Microsoft.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass48`1.<S2SInvoke>b__47()     at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name,
    Func`1 func)    d4f0e79b-2e8c-9054-08c5-674e84005449
    12/05/2012 16:02:26.55     w3wp.exe (0x1AB0)                           0x2324    SharePoint Portal Server    
         User Profiles                     ajxt4    Unexpected    Microsoft.Office.Server.Social.SPSocialFeedManager.GetFeedFor:
    Microsoft.Office.Server.Social.SPSocialException: No personal site exists for the current user, and a previous attempt to create one failed. Internal type name: Microsoft.Office.Server.Microfeed.MicrofeedException. Internal error code: 80.    
    at Microsoft.Office.Server.Social.SPSocialUtil.TryTranslateExceptionAndThrow(Exception exception)     at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func)    
    at Microsoft.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass48`1.<S2SInvoke>b__47()     at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name,
    Func`1 func)     at Mic...    d4f0e79b-2e8c-9054-08c5-674e84005449
    12/05/2012 16:02:26.55*    w3wp.exe (0x1AB0)                           0x2324    SharePoint Portal Server    
         User Profiles                     ajxt4    Unexpected    ...rosoft.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass2f.<GetFeedFor>b__2d()    
    at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func)    d4f0e79b-2e8c-9054-08c5-674e84005449
    12/05/2012 16:02:26.57     w3wp.exe (0x1AB0)                           0x2324    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Render
    Ribbon.). Parent SharePointForm Control Render    d4f0e79b-2e8c-9054-08c5-674e84005449
    12/05/2012 16:02:26.58     w3wp.exe (0x1AB0)                           0x2324    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Render
    Ribbon.). Execution Time=3.16897818018771    d4f0e79b-2e8c-9054-08c5-674e84005449
    12/05/2012 16:02:26.58     w3wp.exe (0x1AB0)                           0x2324    SharePoint Server Search    
         Query                             dn4s    High        FetchDataFromURL
    start at(outside if): 1 param: start    d4f0e79b-2e8c-9054-08c5-674e84005449
    12/05/2012 16:02:26.58     w3wp.exe (0x1AB0)                           0x2324    SharePoint Portal Server    
         User Profiles                     aiokq    High        User profile property 'EduUserRole'
    not found from from MySitePersonalSiteUpgradeOnNavigationWebPart::GetUserRoleFromProfile(). This should indicate that the current user is not an edudation user. [SPWeb Url=http://share2/my/Person.aspx?accountname=mycompany\username]    d4f0e79b-2e8c-9054-08c5-674e84005449
    12/05/2012 16:02:26.58     w3wp.exe (0x1AB0)                           0x2324    SharePoint Portal Server    
         Personal Site Instantiation       af1lc    High        Skipping creation of personal site from MySitePersonalSiteUpgradeOnNavigationWebPart::CreatePersonalSite()
    because one or more of the creation criteria has not been met. [SPWeb Url=http://share2/my/Person.aspx?accountname=mycompany\username]  http://share2/my/Person.aspx?accountname=mycompany\username]Self-Service Site Creation == False  Can Create Personal
    Site == True  Is user licensed == True  Storage&Social UPA Permission == True  Site or Page or Web Part is in design mode == False      d4f0e79b-2e8c-9054-08c5-674e84005449
    12/05/2012 16:02:26.59     w3wp.exe (0x1AB0)                           0x2324    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Request
    (GET:http://share2:80/my/Person.aspx?accountname=mycompany%5Cusername&AjaxDelta=1)). Execution Time=94.5348500996635    d4f0e79b-2e8c-9054-08c5-674e84005449
    12/05/2012 16:02:27.17     w3wp.exe (0x1AB0)                           0x23A0    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Request
    (POST:http://share2:80/my/_vti_bin/client.svc/ProcessQuery)). Parent No    
    12/05/2012 16:02:27.17     w3wp.exe (0x1AB0)                           0x23A0    SharePoint Foundation       
         Logging Correlation Data          xmnv    Medium      Name=Request (POST:http://share2:80/my/_vti_bin/client.svc/ProcessQuery)    d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.17     w3wp.exe (0x1AB0)                           0x23A0    SharePoint Foundation       
         Authentication Authorization      agb9s    Medium      Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|mycompany\username, ClaimsCount=57    d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.17     w3wp.exe (0x1AB0)                           0x09C8    SharePoint Foundation       
         CSOM                              agw10    Medium      Begin
    CSOM Request ManagedThreadId=54, NativeThreadId=2504    d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.18     w3wp.exe (0x1AB0)                           0x09C8    SharePoint Foundation       
         Logging Correlation Data          xmnv    Medium      Site=/my    d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.18     w3wp.exe (0x1AB0)                           0x09C8    SharePoint Portal Server    
         Microfeeds                        aizmk    High        serviceHost_RequestExecuting  
     d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.20     w3wp.exe (0x1AB0)                           0x09C8    SharePoint Portal Server    
         User Profiles                     ajk39    Medium      UserProfileDBCache_WCFLogging::Begin ProfileDBCacheServiceClient.GetUserData.ExecuteOnChannel  
     d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.20     w3wp.exe (0x1AB0)                           0x09C8    SharePoint Portal Server    
         User Profiles                     ajk35    Medium      MossClientBase_WCFLogging::Begin MossClientBase.ExecuteOnChannel  
     d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.20     w3wp.exe (0x1AB0)                           0x09C8    SharePoint Portal Server    
         User Profiles                     ajk36    Medium      MossClientBase_WCFLogging:: MossClientBase.ExecuteOnChannel
    -  Executing codeblock on channel    d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.21     w3wp.exe (0x1AB0)                           0x09C8    SharePoint Foundation       
         Topology                          e5mc    Medium      WcfSendRequest: RemoteAddress:
    'http://share2:32843/1c9a1642f4d9456c94ae0dbbd9b25a41/ProfileDBCacheService.svc' Channel: 'Microsoft.Office.Server.UserProfiles.IProfileDBCacheService' Action: 'http://Microsoft.Office.Server.UserProfiles/GetUserData' MessageId: 'urn:uuid:24af6007-0615-428e-ad0a-1265f47f0b33'  
     d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.22     w3wp.exe (0x1B78)                           0x1BA0    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (ExecuteWcfServerOperation).
    Parent No    
    12/05/2012 16:02:27.22     w3wp.exe (0x1B78)                           0x1BA0    SharePoint Foundation       
         Topology                          e5mb    Medium      WcfReceiveRequest: LocalAddress:
    'http://share2.mycompany.com:32843/1c9a1642f4d9456c94ae0dbbd9b25a41/ProfileDBCacheService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://Microsoft.Office.Server.UserProfiles/GetUserData' MessageId: 'urn:uuid:24af6007-0615-428e-ad0a-1265f47f0b33'  
     d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.22     w3wp.exe (0x1B78)                           0x1BA0    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (ExecuteWcfServerOperation).
    Execution Time=0.647079447248184    d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.22     w3wp.exe (0x1AB0)                           0x09C8    SharePoint Portal Server    
         User Profiles                     ajk37    Medium      MossClientBase_WCFLogging:: MossClientBase.ExecuteOnChannel
    -  Executed codeblock on channel    d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.22     w3wp.exe (0x1AB0)                           0x09C8    SharePoint Portal Server    
         User Profiles                     ajk4a    Medium      UserProfileDBCache_WCFLogging::End ProfileDBCacheServiceClient.GetUserData.ExecuteOnChannel  
     d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.22     w3wp.exe (0x1AB0)                           0x09C8    SharePoint Portal Server    
         User Profiles                     ajp2i    Medium      GetMySiteLinks: user has a profile but no personal
    site; not returning personal site links    d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.23     w3wp.exe (0x1AB0)                           0x09C8    SharePoint Portal Server    
         Microfeeds                        aizmj    High        serviceHost_RequestExecuted  
     d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.23     w3wp.exe (0x1AB0)                           0x09C8    SharePoint Foundation       
         CSOM                              agw11    Medium      End
    CSOM Request. Duration=53 milliseconds.    d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.23     w3wp.exe (0x1AB0)                           0x1604    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Request
    (POST:http://share2:80/my/_vti_bin/client.svc/ProcessQuery)). Execution Time=62.5798809625246    d4f0e79b-3eb6-9054-08c5-61e70b316688
    12/05/2012 16:02:27.44     w3wp.exe (0x1B78)                           0x1178    SharePoint Server           
         Logging Correlation Data          xmnv    Medium      Name=Task: SessionManager.PerformOngoingRequestDepartures    6b6b4445-152d-0002-8ef6-85991723bb2d
    12/05/2012 16:02:27.51     w3wp.exe (0x1B78)                           0x1934    SharePoint Server           
         Logging Correlation Data          xmnv    Medium      Name=Task: Disk Manager.PerformCleanup    11c5f189-7512-0002-bee0-df766138e919
    12/05/2012 16:02:27.51     w3wp.exe (0x1B78)                           0x1934    Excel Services Application  
         Excel Calculation Services        8jg2    Medium      ResourceManager.PerformCleanup: Disk Manager: CurrentSize=57369.    11c5f189-7512-0002-bee0-df766138e919
    12/05/2012 16:02:28.45     w3wp.exe (0x1B78)                           0x1178    SharePoint Server           
         Logging Correlation Data          xmnv    Medium      Name=Task: SessionManager.PerformOngoingRequestDepartures    6b6b4445-152d-0002-8ef6-85991723bb2d
    12/05/2012 16:02:28.92     w3wp.exe (0x1B78)                           0x18C8    SharePoint Server           
         Logging Correlation Data          xmnv    Medium      Name=Task: SessionManager.PerformSessionTimeouts    8854a25e-6740-0002-b513-28f8778da25e
    12/05/2012 16:02:28.92     w3wp.exe (0x1B78)                           0x23E0    SharePoint Server           
         Logging Correlation Data          xmnv    Medium      Name=Task: Memory Manager.PerformCleanup    53fed7f1-2e29-0002-a910-5150db6281e2
    12/05/2012 16:02:28.92     w3wp.exe (0x1B78)                           0x23E0    Excel Services Application  
         Excel Calculation Services        8jg2    Medium      ResourceManager.PerformCleanup: Memory Manager: CurrentSize=730533888.    53fed7f1-2e29-0002-a910-5150db6281e2
    12/05/2012 16:02:29.40     w3wp.exe (0x1B78)                           0x19B4    SharePoint Portal Server    
         User Profiles                     ahqt1    Medium      UserProfileDBCache.GetChangedDBItemsPrimaryKeys:
    m_AllPropertyIDs = 1;3;9;2;5009;7;23;13;14;22;5065;5061;5062;5040;5042;5091;5092;5093;    19a3e79b-2ee3-9054-08c5-6a281115d989
    12/05/2012 16:02:29.45     w3wp.exe (0x1B78)                           0x1178    SharePoint Server           
         Logging Correlation Data          xmnv    Medium      Name=Task: SessionManager.PerformOngoingRequestDepartures    6b6b4445-152d-0002-8ef6-85991723bb2d
    12/05/2012 16:02:29.54     OWSTIMER.EXE (0x26C4)                       0x1964    SharePoint Foundation       
         Monitoring                        aeh57    Medium      Sql Ring buffer status eventsPerSec
    = 0,processingTime=0,totalEventsProcessed=0,eventCount=0,droppedCount=0,memoryUsed=0    
    12/05/2012 16:02:30.10     w3wp.exe (0x1B78)                           0x0FAC    SharePoint Server           
         Logging Correlation Data          xmnv    Medium      Name=Task: HealthPerfCounter    633d7a5d-1310-0002-8342-391ed51888b4
    12/05/2012 16:02:30.45     w3wp.exe (0x1B78)                           0x1178    SharePoint Server           
         Logging Correlation Data          xmnv    Medium      Name=Task: SessionManager.PerformOngoingRequestDepartures    6b6b4445-152d-0002-8ef6-85991723bb2d
    12/05/2012 16:02:30.61     w3wp.exe (0x1B78)                           0x19A4    SharePoint Server Search    
         Query                             ac3iq    High        Ims::EndPoints:
    old: net.tcp://share2/C5A0AC/QueryProcessingComponent1/ImsQueryInternal;, new: net.tcp://share2/C5A0AC/QueryProcessingComponent1/ImsQueryInternal;    19a3e79b-2ee3-9054-08c5-6a281115d989
    12/05/2012 16:02:30.67     w3wp.exe (0x1B78)                           0x1EE4    SharePoint Server           
         Logging Correlation Data          xmnv    Medium      Name=Task: RequestManager.RequestTimeoutCleanup    5baea2ed-01b0-0002-9183-bc6ae11d23eb
    12/05/2012 16:02:30.67     w3wp.exe (0x1B78)                           0x1EE4    SharePoint Server           
         Logging Correlation Data          xmnv    Medium      Name=Task: ExcelServerThreadPool.QueueConsiderate    5baea2ed-01b0-0002-9183-bc6ae11d23eb
    12/05/2012 16:02:30.67     w3wp.exe (0x1B78)                           0x1EE4    SharePoint Server           
         Logging Correlation Data          xmnv    Medium      Name=Task: SessionManager.PerformAutoSave    5baea2ed-01b0-0002-9183-bc6ae11d23eb
    12/05/2012 16:02:31.45     w3wp.exe (0x1B78)                           0x1178    SharePoint Server           
         Logging Correlation Data          xmnv    Medium      Name=Task: SessionManager.PerformOngoingRequestDepartures    6b6b4445-152d-0002-8ef6-85991723bb2d
    12/05/2012 16:02:32.45     w3wp.exe (0x1B78)                           0x1178    SharePoint Server           
         Logging Correlation Data          xmnv    Medium      Name=Task: SessionManager.PerformOngoingRequestDepartures    6b6b4445-152d-0002-8ef6-85991723bb2d
    12/05/2012 16:02:32.65     OWSTIMER.EXE (0x26C4)                       0x197C    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Timer
    Job EducationBulkOperationJob). Parent No    9d183f64-33f3-4bb8-83b3-f401e3150f7e
    Any thoughts on this?   troubleshooting tips? 

    In my case, here is what happened and how I fixed it.
    Situation:
    Mysite is a new web application. We have two one-way trusts in place since the domain of the farm is different than the two other domains where users reside. So I ran the 
    STSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv "Forest1,Domain1\account,password;
    Forest2,Domain2\account,password"
    -url https://mysitesURL
    This allowed the user policy of the new Mysites web application to search through the two domains where AD users reside. Once I added them I was good, no more errors. 
    One thing to note, I have two web apps using the same wildcard cert and running off port 443 SSL. 
    I wanted to make the user picture come from AD so I changed that user property (Picture) in User Profile Service options, and this seems to have broken initial MySite creation, but once the user adds a picture
    to their profile settings, the site starts working. I need to remove the property I added for "Picture" in user profile properties.
    This is the process I took that caused my problem:
    http://richardstk.wordpress.com/2013/04/12/import-user-photos-from-active-directory-into-sharepoint-2013/

  • Assigning User to a Group.

    Hi All,
    We have installed EP 7.0. We need to add the user "xxx" to the group "SAP_HR_LSO_DEVELOPMANAGER".
    We searched for the user "xxx" and click on modify button to edit the Assigned groups. But the Add button is disabled for the Admin.
    How to enable it ? & How to add the user to the group?
    Kindly provide your answers.
    Thank You.
    Regards,
    Eben.

    Hi,
    I hope the following links will help you,
    https://forums.sdn.sap.com/click.jspa?searchID=15809839&messageID=4604222
    Re: Add users to a group through programming
    Regards,
    Harish

  • Please help with assigning user to a group in AD using dbms_ldap

    Dear gurus of Apex and LDAP!
    Please help me a bit.
    I managed to create any user in AD from Apex using dbms_ldap package and set many of his attributes. But I cannot set that my user belongs to specific group, let's say MY_GROUP. I guess the name of attribute for group is 'member' or 'memberOf', so I tried them both in the same way as I've done for other attributes:
    v_vals(1) := 'MY_GROUP';
    DBMS_LDAP.populate_mod_array(v_array, DBMS_LDAP.MOD_ADD, 'member', v_vals);
    I've got LDAP client/server error: CONSTRAINT violation. 000020B5: AtrErr: DSID-031516FC, #1: 0: 000020B5:
    DSID-031516FC, problem 1005 (CONSTRAINT_ATT_TYPE), DATA 0, Att 1f (MEMBER)
    v_vals(1) := 'MY_GROUP';
    DBMS_LDAP.populate_mod_array(v_array, DBMS_LDAP.MOD_ADD, 'memberOf', v_vals);
    I've got LDAP client/server error: DSA IS unwilling TO perform. 0000209A: SvcErr: DSID-031A0929, problem 5003 (WILL_NOT_PERFORM), DATA 0
    After that I've tried to extend group name to string, which is shown in LDAP browser for attribute 'memberOf' (when I've added it manualy):
    v_vals(1) := 'CN=MY_GROUP,OU=GROUPS,OU=Allianz,DC=allianz,DC=com';
    DBMS_LDAP.populate_mod_array(v_array, DBMS_LDAP.MOD_ADD, 'member', v_vals);
    I've got LDAP client/server error: OBJECT CLASS violation. 0000207D: UpdErr: DSID-03150913, problem 6002 (OBJ_CLASS_VIOLATION), DATA 0
    v_vals(1) := 'CN=MY_GROUP,OU=GROUPS,OU=Allianz,DC=allianz,DC=com';
    DBMS_LDAP.populate_mod_array(v_array, DBMS_LDAP.MOD_ADD, 'memberOf', v_vals);
    LDAP client/server error: DSA IS unwilling TO perform. 0000209A: SvcErr: DSID-031A0929, problem 5003 (WILL_NOT_PERFORM), DATA 0
    I've also tried some other variants (without 'CN=' and without 'OU=GROUPS,OU=Allianz'), but still no success.
    Search of this forum and even google didn't help either :(
    Please, help me to find the correct syntax for it or tell me if it's not possible.
    Thanx in advance,
    Vladimir

    Vladimir ,
    firstly the attributes member and memberOf are special attributes in AD having a set of predefined values. Hence an error will be thrown if you try to assign them values like 'MY_GROUP'. There are two basic solutions to this problem : Either you define an OU in your AD which will act as your 'MY_GROUP'. This is a quick fix solution and is not robust at all. The other solution is to add your own property in the tree , something like 'roleCode', you can then assign it any value you want.
    But the problem now is, AD does not allow addition of new attributes in the structure. You have to use ADAM in for this and you can specify a common linking mechanism between AD and ADAM now such as email address can act as the link between both the directories.
    Hope this helps
    Shantanu

  • Trying to assign User to ADS-Group

    Hi,
    i'm trying to assign a User to an ADS group using the script "sap_getGroupDN".
    Unfortunately the mskey given to that method is the mskey from the user and not from the group.
    Any suggestions or ideas?
    How managed you that case?
    Kind regards,
    Achim Heinekamp
    CONET Solutions GmbH

    Hi folks,
    it seems I'm having a very similar problem to Achim, although the sympton is a little different. When I run the task to assign a role (1 AS ABAP, 1 AS Java and 1 AD OU) on the task AssignUserToADSGroupI get an error message that reads:
    PrivDN: !ERROR:No such attribute
    I've assigned the privelege to the role, and it seems to recognize that and create the user, however...the groups don't get assigned.
    The full output s below:
    <?xml version="1.0" encoding="UTF-8"?>
    <mx:EMSLOG xmlns:mx="http://www.maxware.com/EMS">
    <mx:GENERAL>
    <mx:DATE>21.07.2009 20:57:41</mx:DATE>
    <mx:VERSION>DSE.JAR version: 7.10.02.0 Built: 01.07.2009 15:49:23 (c) Copyright 2008 SAP AG. All rights reserved.</mx:VERSION>
    <mx:MACHINE>clklabvm3-disp01</mx:MACHINE>
    <mx:JOBID>045EB0C2-E35B-4AD7-8D0A-84B51594EAAF</mx:JOBID>
    <mx:WORKAREA>C:/Program Files (x86)/SAP/IdM/Identity Center/Jobs/045EB0C2-E35B-4AD7-8D0A-84B51594EAAF</mx:WORKAREA>
    <mx:JOB>jdbc:sqlserver://clklabvm3\idm:1988;responseBuffering=full;encrypt=false;databaseName=mxmc_db;selectMethod=direct;trustServerCertificate=false;lastUpdateCount=true; - MACHINE:clklabvm3-disp01</mx:JOB>
    <mx:PRODUCT>Provisioning</mx:PRODUCT>
    <mx:CUSTOMER>SAP customer : f9c1c5cd66189d133765ac44ea6c127a</mx:CUSTOMER>
    <mx:TIMEUSED>5</mx:TIMEUSED>
    <mx:NERRORS>0</mx:NERRORS>
    <mx:NWARNINGS>3</mx:NWARNINGS>
    <mx:NENTRIES adds="3" mods="0" dels="0" noops="0" markdels="0">3</mx:NENTRIES>
    </mx:GENERAL>
    <mx:PASSES>
    <mx:PASS name="Job Initialization" title="Messages that occurred before the job was loaded" type="init" seq="0">
    <mx:MESSAGES>
    <WARNING seq="1">
    <mx:TEXT>Failed loading JDBC Driver class com.microsoft.jdbc.sqlserver.SQLServerDriver</mx:TEXT>
    <mx:TEXT>java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver</mx:TEXT>
    </WARNING>
    <WARNING seq="2">
    <mx:TEXT>Failed loading JDBC Driver class com.sap.dbtech.jdbc.DriverSapDB</mx:TEXT>
    <mx:TEXT>java.lang.ClassNotFoundException: com.sap.dbtech.jdbc.DriverSapDB</mx:TEXT>
    </WARNING>
    <WARNING seq="3">
    <mx:TEXT>Failed loading JDBC Driver class org.gjt.mm.mysql.Driver</mx:TEXT>
    <mx:TEXT>java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver</mx:TEXT>
    </WARNING>
    <WARNING seq="4">
    <mx:TEXT>Failed loading JDBC Driver class oracle.jdbc.driver.OracleDriver</mx:TEXT>
    <mx:TEXT>java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver</mx:TEXT>
    </WARNING>
    <WARNING seq="5">
    <mx:TEXT>Failed loading JDBC Driver class COM.ibm.db2.jdbc.app.DB2Driver</mx:TEXT>
    <mx:TEXT>java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.app.DB2Driver</mx:TEXT>
    </WARNING>
    <WARNING seq="6">
    <mx:TEXT>Failed loading JDBC Driver class COM.ibm.db2.jcc.DB2Driver</mx:TEXT>
    <mx:TEXT>java.lang.ClassNotFoundException: COM.ibm.db2.jcc.DB2Driver</mx:TEXT>
    </WARNING>
    <WARNING seq="7">
    <mx:TEXT>Failed loading JDBC Driver class COM.ibm.db2.jdbc.net.DB2Driver</mx:TEXT>
    <mx:TEXT>java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.net.DB2Driver</mx:TEXT>
    </WARNING>
    </mx:MESSAGES>
    </mx:PASS>
    <mx:PASS name="6D5485D1-2CF6-4E5B-9972-7141CB9051EA" title="AssignUserToADSGroup" type="ToLDIF" seq="1">
    <mx:MESSAGES>
    <mx:WARNING seq="1">
    <mx:TEXT>PrivDN: !ERROR:No such attribute</mx:TEXT>
    <mx:ENTRY/>
    </mx:WARNING>
    <mx:WARNING seq="2">
    <mx:TEXT>PrivDN: !ERROR:No such attribute</mx:TEXT>
    <mx:ENTRY/>
    </mx:WARNING>
    <mx:WARNING seq="3">
    <mx:TEXT>PrivDN: !ERROR:No such attribute</mx:TEXT>
    <mx:ENTRY/>
    </mx:WARNING>
    </mx:MESSAGES>
    <mx:DELTA>0</mx:DELTA>
    <mx:TIMEUSED>2</mx:TIMEUSED>
    <mx:NENTRIES adds="3" mods="0" dels="0" noops="0" markdels="0">3</mx:NENTRIES>
    <mx:NERRORS>0</mx:NERRORS>
    <mx:NWARNINGS>3</mx:NWARNINGS>
    </mx:PASS>
    </mx:PASSES>
    </mx:EMSLOG>

  • Problems with assigning user to Purchase Group

    Hi all!
    I'm trying to set-up standard workflow WS 20000397 - Handling invoices blocked due to price.
    Somehow I left something out as nothing is sent to my inbox when a invoice is blocked.
    It starts fine but it can't find and agent when I check the log.
    I've created an org. structure with a company, that has one organizational unit under it.
    To this I've assigned a position and thereafter a user to this with my user ID.
    Then I've created an assignment in PFOM whera I assigned SO T024 001 (Purch. Group 1) to my newly created Position.
    I have found Purch group 001 using F4 so no mispellings could be the case.
    In the container I can see that it has found the correct purchasing group (001) with my created position (the S-code for the position is even shown as an agent in the container)
    Any suggestions would be appreciated.
    Regards,
    //Roland
    Edited by: Roland Persson-Aglert on Dec 4, 2008 5:03 PM

    Hi!
    I'll paste the message below, I although found out that I had checked wrong TS, so I checked TS20000661 in PFTC and is set to "General forwarding allowed".
    No agents found for this task -> long text
    Message no. WO590
    Diagnosis
    The system could not establish any agents for the task underlying this work item.
    The key of the task is: TS20000661
    The key of the work item is: 000000404120
    System Response
    The system cannot assign work item 000000404120 to any agents - the work item does not appear in anyone's Business Workplace.
    Procedure
    Assign possible agents to task TS20000661 or declare the task as a general task.
    Refer to your workflow system administrator.
    //Roland

  • Assigned User Profile / AD groups /

    I am new to SGD and trying to figuring out how to give permission to certain AD groups for certain applications.
    I have two AD groups Info_Portal and Info_Survey and five applications let say App1, App2, App3 and App4. I would like App1 and App2 applications available to info_portal only and App3 and App4 available to Info_survy only.
    I kind of got picture for assigne profile for applications but I am not clear how to created this new AD profile with in SGD.
    Since I am new to SGD would prefer options through Admin console.
    Thanks.
    Habib.

    Hi Matt,
    Sorry, you must be wondering what happened to me. Well, I had an injury and end up taking LOA. Just came back to work.
    Thank you for your suggestions. I went through the document and made required changes. I guess I missed something since I can’t login to SGD at all now.
    Here is the output of:
    # ./tarantella config list login-ldap login-ad login-nt login-nt-domain
    login-ad: 1
    login-nt-domain: orgds2.hs.uci.edu
    login-nt: 0
    login-ldap: not found
    My krb.conf file is as follows:
    [logging]
    default = FILE:/var/log/krb5libs.log
    kdc = FILE:/var/log/krb5kdc.log
    admin_server = FILE:/var/log/kadmind.log
    [libdefaults]
    default_realm = HS.UCI.EDU
    dns_lookup_realm = true
    dns_lookup_kdc = true
    ticket_lifetime = 24h
    forwardable = yes
    [realms]
    EXAMPLE.COM = {
    kdc = kerberos.example.com:88
    admin_server = kerberos.example.com:749
    default_domain = example.com
    HS.UCI.EDU = {
    kdc = hs.uci.edu:88
    admin_server = hs.uci.edu:749
    UCI.EDU = {
    kdc = kerberos.service.uci.edu:88
    admin_server = kerberos.service.uci.edu:749
    [domain_realm]
    .example.com = EXAMPLE.COM
    example.com = EXAMPLE.COM
    hs.uci.edu = HS.UCI.EDU
    .hs.uci.edu = HS.UCI.EDU
    uci.edu = UCI.EDU
    .uci.edu = UCI.EDU
    [appdefaults]
    pam = {
    debug = false
    ticket_lifetime = 36000
    renew_lifetime = 36000
    forwardable = true
    krb4_convert = false
    What did I miss?
    Thanks again for all the help.
    Habib.

  • SharePoint 2013: Update User Profile Properties is giving error

    Hello all SharePoint Gurus - I am trying to update the User Profile Properties. The update I am trying is to
    Property Mapping for Synchronization.  Mapping mobile property of AD to the User Profile Property Mobile Phone.
    It is giving error "An Error occurred when updating a property". Check ULS is not showing any error. 
    The FIM Service, USer Profile Services and Synchronization Services all are in Started mode. Properly synchronizing with AD. 
    Please throw some light on this. 
    Regards,
    Khushi

    Hi Khushi,
    According to your description, my understanding is that you got an error when you make "Mobile Phone" map to "mobile" from AD properties.
    I did a test as your description, in my testing, everything worked well.
    Please try to stop User Profile Synchronization service and User profile service, then restart them, compare the result.
    There are some similar posts about this issue, pease check if they are useful for you:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/32937e1d-830e-4553-bdfc-23d3ee7f6d07/why-mapping-of-user-profile-property-fails
    http://sharepoint.stackexchange.com/questions/34634/mapping-user-properties-fails
    If this issue still exists, please check Windows Event Viewer to check there is something about this issue:
    How to use Windows Event Viewer:
    http://blog.credera.com/technology-insights/microsoft-solutions/troubleshooting-sharepoint-errors/
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Reorder User Profile properties in SharePoint 2013.

    Hi, I have created custom user profile properties in SharePoint 2013 under User Profile Service Application, now I want to change the order of properties as well as also want to move OOTB properties and custom properties from one section to another section.
    Is there any Power Shell command available to move properties between sections?
    Regards,    

    Hi Prakash,
    Use the script in this blog to retrive user profile properties from a certain section.
    http://stevemannspath.blogspot.in/2013/05/sharepoint-20102013-using-powershell-to.html
    # Dynamic Settings
    $mySiteUrl = "http://mysite.company.net"
    $findProperty = "PictureUrl"
    Next, we needed to establish the server context:
    # Obtain Context based on site
    $mySiteHostSite = Get-SPSite $mySiteUrl
    $mySiteHostWeb = $mySiteHostSite.OpenWeb()
    $context = Get-SPServiceContext $mySiteHostSite
    From the context we can instantiate a ProfileManager object and retrieve all of the SharePoint User Profiles:
    # Obtain Profiles from the Profile Manager
    $profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)
    $AllProfiles = $profileManager.GetEnumerator()
    $outputCollection = @()
    Next, we loop through the profiles and retrieve the account name (for identification purposes) and the property we are interested in finding:
    # Loop through profiles and retrieve the desired property
    foreach ($profile in $AllProfiles)
    $output = New-Object System.Object
    $output | Add-Member -type NoteProperty -Name AccountName -Value $profile["AccountName"].ToString()
    $output | Add-Member -type NoteProperty -Name $findProperty -Value $profile[$findProperty]
    $outputCollection += $output
    Finally, we list out the collection items that do not have a value for the property (ie. null):
    # List all Accounts that do not contain the property
    $outputCollection | Where-Object {[bool]$_.($findProperty) -ne $true}
    FULL SCRIPT
    # Dynamic Settings
    $mySiteUrl = "http://mysite.company.net"
    $findProperty = "PictureUrl"
    Write-Host "Beginning Processing--`n"
    # Obtain Context based on site
    $mySiteHostSite = Get-SPSite $mySiteUrl
    $mySiteHostWeb = $mySiteHostSite.OpenWeb()
    $context = Get-SPServiceContext $mySiteHostSite
    # Obtain Profiles from the Profile Manager
    $profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)
    $AllProfiles = $profileManager.GetEnumerator()
    $outputCollection = @()
    # Loop through profiles and retrieve the desired property
    foreach ($profile in $AllProfiles)
    $output = New-Object System.Object
    $output | Add-Member -type NoteProperty -Name AccountName -Value $profile["AccountName"].ToString()
    $output | Add-Member -type NoteProperty -Name $findProperty -Value $profile[$findProperty]
    $outputCollection += $output
    # List all Accounts that do not contain the property
    $outputCollection | Where-Object {[bool]$_.($findProperty) -ne $true}
    In this blog, we can refer the script to create new section and new properties to this section.
    http://sergioblogs.blog.co.uk/2013/01/08/powershellscript-to-add-new-user-profile-properties-from-the-term-store-15407371/
    # PowerShell Script to Add New User Profile Properties from the Term Store
    # Get parameters
    $mySiteWebApp = Read-Host "Please enter the MySite Web Application URL"
    $termStoreSrvApp = Read-Host "Please enter the Term Store Service Application name"
    # Add SharePoint DLLs
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint.Administration")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint.Taxonomy")
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server")
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.UserProfiles")
    # Get site collection for MySite
    #$sitecollection = Get-SPSite | Where-Object {$_.Url -eq "http://yourMySiteHostURL"}
    $sitecollection = Get-SPSite | Where-Object {$_.Url -eq $mySiteWebApp}
    if($sitecollection -ne $null) {
    # Get the taxonomy session
    $taxSession = Get-SPTaxonomySession -site $sitecollection
    # Get the term store - you will need to amend the value for the correct name of your MMS Name
    #$termStore = $taxSession.TermStores["Managed Metadata Service"]
    $termStore = $taxSession.TermStores[$termStoreSrvApp]
    if($termStore -ne $null) {
    # Get the term store group for Swisslo
    $termStoreGroup = $termStore.Groups["Name of Term Store"]
    # Get the term sets - Preset with examples for terms (Customer, Function, IndustrySegment, Language, Location, Organization), amend as required
    $termSetCustomer = $termStoreGroup.TermSets["Customer"]
    $termSetFunction = $termStoreGroup.TermSets["Function"]
    $termSetIndustrySegment = $termStoreGroup.TermSets["Industry Segment"]
    $termSetLanguage = $termStoreGroup.TermSets["Language"]
    $termSetLocation = $termStoreGroup.TermSets["Location"]
    $termSetOrganization = $termStoreGroup.TermSets["Organization"]
    # Get the user profile app - change UPS Name as required
    $serviceApplication = Get-SPServiceApplication | ?{$_.TypeName -eq "User Profile Service Application"}
    $serviceContext = [Microsoft.SharePoint.SPServiceContext]::GetContext($serviceApplication.ServiceApplicationProxyGroup, [Microsoft.SharePoint.SPSiteSubscriptionIdentifier]::Default)
    $userProfileConfigManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileConfigManager $serviceContext
    $userProfilePropertyManager = $userProfileConfigManager.ProfilePropertyManager
    $userProfileTypeProperties = $userProfilePropertyManager.GetProfileTypeProperties([Microsoft.Office.Server.UserProfiles.ProfileType]::User)
    $userProfileSubTypeManager = [Microsoft.Office.Server.UserProfiles.ProfileSubTypeManager]::Get($serviceContext)
    $userProfile = $userProfileSubTypeManager.GetProfileSubtype([Microsoft.Office.Server.UserProfiles.ProfileSubtypeManager]::GetDefaultProfileName([Microsoft.Office.Server.UserProfiles.ProfileType]::User))
    $userProfileProperties = $userProfile.Properties
    $ps = $userProfileSubTypeManager.GetProfileSubtype([Microsoft.Office.Server.UserProfiles.ProfileSubtypeManager]::GetDefaultProfileName([Microsoft.Office.Server.UserProfiles.ProfileType]::User))
    $pspm = $ps.Properties
    #Create new section in User Profiles - set the 'Name of the Section' throughout next chunk of code
    Write-Host "Creating new section for 'Name of Section'...."
    $allEntries = $userProfileConfigManager.GetPropertiesWithSection();
    $sectionExists =$false
    foreach ($temp in $allEntries) {
    if($temp.Name -eq "Name of Section") {
    Write-Host "Section for 'Name of Section' already exists.";
    $sectionExists = $true;
    $section = $temp
    if ($sectionExists -ne $true){
    $section = $allEntries.Create($true);
    $section.Name = "Name of Section";
    $section.ChoiceType = [Microsoft.Office.Server.UserProfiles.ChoiceTypes]::Off;
    $section.DisplayName = "Name of Section"
    $section.Commit();
    Write-Host "Section 'Name of Section' created"
    Write-Host "Creating new properties...."
    $Privacy = "public"
    $PrivacyPolicy = "OptIn"
    $coreProperties = $userProfilePropertyManager.GetCoreProperties()
    # Setting Custom Properties below, amend names as you did above to match your fields
    # Set new Custom Property for "Customer"
    $PropertyName = "SLCustomer"
    $PropertyDisplayName = "Customer"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetCustomer
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Function"
    $PropertyName = "SLFunction"
    $PropertyDisplayName = "Function"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetFunction
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Industry Segment"
    $PropertyName = "SLIndustrySegment"
    $PropertyDisplayName = "Industry Segment"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetIndustrySegment
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Language"
    $PropertyName = "SLLanguage"
    $PropertyDisplayName = "Language"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetLanguage
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Location"
    $PropertyName = "SLLocation"
    $PropertyDisplayName = "Location"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetLocation
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Organization"
    $PropertyName = "SLOrganization"
    $PropertyDisplayName = "Organization"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetOrganization
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    Write-Host "Completed"
    } else {
    #Termstore not found
    Write-Host "Unable to connect to term store"
    } else {
    Write-Host "Unable to connect to MySite Web Application"
    Need more effort to change this code to work for your requirement.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • Assigning Users to Groups on LDAP thru EP

    Hi,
    I have configured EP6 SP7 with multiple LDAP(MS-ADS)servers. I can read/write the groups and users to LDAP through EP. But i cannot assign the users to groups through Enterprise Portal. Also if i assign users to a group in LDAP on LDAP server itself, these assignments does not show up in the portal. do i have to configure my dataSourceConfiguration_multiLDAP_db.xml file? if so then which parameter?
    Please advise.
    regards,
    Hassan

    Dear Hassan,
    Need a clarification. If users are assigned to a group in LDAP, Can you see the same thing reflecting in portal?
    I have configured LDAP as UME and I am able to see a group of LDAP appearing in Portal. But when I see the list of users assigned to this group, its empty.
    Any clues or suggestions.
    Regards,
    Sreeram

  • How to use UME API to assign user to group ?

    Hi all:
        I would like to write one jsp/ webservice to assign user to one group . Is there some example code ?
        the function can have 2 import parameter, userid, groupid, after the function is executed, the user and group is assigned
        Thanks a lot.

    Hi,
    Code is IGroupFactory     grpfact               = UMFactory.getGroupFactory();
              IUserFactory     userfact          = UMFactory.getUserFactory();
              IGroup               group               = grpfact.getGroup("GRUP.PRIVATE_DATASOURCE.un:Leave Pilot");
              IGroupFactory     grpFact               = UMFactory.getGroupFactory();
              int                nUserListSize     = strUsersList.length;
              for(int i=0;i<nUserListSize;i++)
                     IUser objUser = userfact.getUserByLogonID(strUsersList<i>);
                     grpFact.addUserToGroup(objUser.getUniqueID(),group.getUniqueID());

  • Sharepoint 2013 Default Privacy Setting

    In Sharepoint 2013 in user profile. You have only:
    Show to: only me or everyone
    How can I add more groups?
    in 2010 there were more options that those 2.
    Best regards,
    Olafur Johannsson

    Typical Microsoft. Their own documentation conflicts with what their product actually does!
    http://technet.microsoft.com/en-us/library/ee721054.aspx refers to the available options for Privacy setting and the options listed in this document are:
     Everyone: Every user who has viewer or higher permissions to a site can see the relevant information.Only properties that have a privacy setting of Everyone will be used by search.
    My colleagues: Every user in the user's My Colleagues list can see the information for this user.
    My team: Every colleague in the user's immediate team, a subset of the My Colleagues list, can see the information.
    My manager: Only the user and the user's immediate manager can see the information.
    Only Me: Only the user can see the information.
    This article was published by Microsoft on TechNet for SharePoint 2013!

  • Sharepoint 2013 Server Search Not Working, URGENT!!

    Hi thr,
    im a current sharepoint 2013 server user and im facing a severe problem with sharepoint now, i cannot search using the search bar 
    And the Search Service Application keeps giving me this error, 'The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component in search application ‘Search Service Application’
    is in a good state and try again. '
    I have tried every possible way including creating new search service application, restarting the services , everything i had already tried but its still not working and keep giving me errors
    Anyone can help me? its very urgent here, thanks

    Can you check out the patch status of the servers? If you've got auto-update on the servers and something for SharePoint has been downloaded and installed, it might need to be configured still. Either the PS Config (as suggested below) or the Set-up wizard
    will take care of this
    Additionally, the TechNet Wiki has something that might help you out
    http://social.technet.microsoft.com/wiki/contents/articles/22838.sharepoint-2013-the-search-service-is-not-able-to-connect-to-the-machine-that-hosts-the-administration-component.aspx
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How do I add multiple audio webparts to a page in SharePoint 2013?

    I need to add multiple media player webparts with audio files to a page in SharePoint 2013 so users can click the play button, listen to the file, then vote for the audio they like best. The problem is I can only get one audio to play at a time, and only
    in certain browsers. I can get them to work intermittently in a Chrome browser, but not IE 10. When I publish the page and click the play arrow, it played the first time. Then I added two more audio player webparts to the page, and linked them to different
    audio files (m4a and mpg). Now only one audio player will work, not the other 2.

    Hi
    Have you used this codeplex webpart
    https://mpwp.codeplex.com/
    Amit Kotha

  • Bulk move users from one group to another in XI 3.1

    Hi all,
    I have a group that contains approximately 20,000 users. I now need to move around 7,500 of these users into a different group.
    How can I do this programatically in bulk as I don't want to go through and manually change the groups of 7,500 users?
    Thanks,
    Chris

    Hi Christian,
    Assuming you would need to move users from one group to another and remove them from the previous group, you could use the attached java code.
    To run the code, you would need to save it as .jsp file and paste it inside AdminTools application context.
    The pre-requisite to run this code is to create a Text file with all the 7500 user names in it. The text file should contain one user per line
    (example:
    User1
    User2
    User3
    You can get this information from query builder by running the below query
    Select top 20000 si_name from ci_systemobjects where si_kind='user'
    Initially do it for 2-3 users to text the results.
    You would need to edit the jsp and modify these three lines
    1.
                    * Assign user to a group
                   //Query for the group ID
                   boQuery = "Select SI_ID From CI_SYSTEMOBJECTS Where SI_KIND='UserGroup' And SI_Name='UserGroup name'";
    Above in SI_NAME, you would need to provide the usergroup name you want your users to be added to.
    2.
    if (boUserInfoObject.getGroups().remove(Group Id from which it has to be removed)) {
                            out.print("User removed from group successfully. ");
    Above you would need to provide the id of the group you want the users to be removed from(i.e the current group from where you want them to be moved).
    3.
    * Path to file containing User names.
    final String USER_FILE_PATH = "<Path of txt file from which list of users will be imported>";
    Above you need to specify the path of the text file which contains all the user names.
    Incase you require further assistance on SDKs, raise your concerns in the below space
    http://scn.sap.com/community/bi-platform/java-sdk
    Thanks,
    Prithvi

Maybe you are looking for

  • PI 7.1 AAE Interface statistics and monitoring

    Hi SAP community! I currently have Advanced Adapter Engine interfaces running through my systems (which bypass Integration Server by design), and my issue is for data/statistics. RWB is able to display the AAE/Adapter Engine messages in groups, but i

  • HT1689 cant download latest version of itunes.. message "itunes.msi" cannot be found. Also another box said cannot find uninstall

    cant download latest version of itunes.. message "itunes.msi" cannot be found. Also another box said cannot find uninstall

  • DB Listener Error...

    When trying to start EBS R12 db listener by using sh addlnctl.sh start PROD, we are getting the following errors, TNS-12535: TNS:operation timed out TNS-12560: TNS:protocol adapter error TNS-00505: Operation timed out Linux Error: 110: Connection tim

  • How do you install a browser on an Oracle VM PC?

    I have installed Oracle VM Server and manager in one PC. I now need to install a browser on this PC so I can create a server pool and then go on to download PeopleSoft Financials templates. How would I install a browser on this PC? All I get is a cur

  • Cannot detect PXI 4351 channels

    Hi there. I am new with labview and also the NI products. I just got myself a PXI 1042 controller with PXI 4351 card. I got to know that DAQmx can't be used to program the labview. I am using labview 8.2. I can detect the card under DAQ traditional i