Tag Info

Hot answers tagged

3

there is a little script on TechNet that solves this issue! no need for webparts.... webparts are fine if you have a public open page that everyone first get to irregardless that contains the webpart on that page for login, when you login it will query ad if it needs change if it does than show the change part else login... the script rather runs in the ...


2

This is a little odd, but I'll try to answer the way I interpret your question. I'm guessing you want to change Active Directory user properties using SharePoint. In order to do this, you should have a User Profile Service up and running. The user properties you want to be able to change should have the synchronization direction set to Export. This means ...


2

SharePoint doesn't need the password because its not actually authenticating anywhere with these accounts. SharePoint uses administrative and service accounts to fetch information and content from the the SharePoint databases. It checks its own internal access control lists (permissions) to determine the level of access an account has on an object - from no ...


2

I think that you should not to use properties.Dispose() method, furthermore you should not to use properties.Web.Dispose(). I'm sure these objects are used in SharePoint later. As workaround you can try to use this snippet: using (SPWeb web = properties.OpenWeb()) { //code }


1

The Farm Account, which is used for the SharePoint 2010/2013 Timer service and the Central Administration site, is highly privileged and should not be used for other services on any computers in the server farm. You need to Change the Server farm account used for other services to low privileged account. This error may vary as per the services running in ...


1

Start the Url with slash <UrlAction Url="/_admin/target.aspx"/>


1

SuperUser and SuperReader accounts are normal account not services accounts that's why these are not managed accounts. SharePoint use these accounts to cache the data impersonating the App Pool Account. these accounts required Policy of web app level permissions and just grab the data from data base and put it into object cache. So when user make a request, ...


1

Why would you go to the categories list to see foods? Your list architecture is backwards. Foods should contain a lookup to Categories, not the other way around. Suppose you add a new food, "orange". In your scenario you have a create a list item in Foods, then go into the categories list to add the new food to the category. This is messy and error-prone. ...


1

Powershell is the answer. http://sharepointadam.com/2010/11/12/create-site-collection-in-new-content-database-script/ I use a script on our 2010 and 2013 solutions to create site collections and contentDBs in their own containers.


1

best practice - You can write a http module . After the user enters his/her credentials and clicks ok -> the http module would be able to capture the event . Write the code to query the AD and send email accordingly .


1

If you are open to using an already existing webpart, I suggest: ITaCS Change Password web part It lets users change their password and as far as I can remember, it also shows when the password is set to expire. I use this webpart myself and am satisfied about it. The source code is available for viewing. It might inspire you for your own programming ...


1

The ImnName property will return the full name when using the Lookup site user property Workflow action.


1

Where have you placed the content editor webpart???, Try palcing the CEW at the bottom of the page. I mean edit web part--> Layout--> Zone Index Change this to a different number so that the CEW appears on the bottom of the page


1

While Kjetil Gullen's and Paul Schaeflein solutions will work fine for completed tasks (succeeded or aborted for some reason), the entries for the currently running jobs are not yet present in the JobHistoryEntries. You can include running jobs in your check by using the RunningJobs property of SPService (for all jobs running under a SharePoint service) or ...


1

Have you tried the Remote PowerShell ability. Powershell 2.0 uses the concepts of WIN-RM which involves piping the contents of the remote call and running it on the remote server. You need to setup the remote Computer 1st you need to run the following command on your server Enable-PSRemoting you need to let powershell know that your server machine or ...


1

Appending the foll. to your page url will open the Web Part Page Maintenance: ?contents=1


1

Edit the html of the CEWP ad paste it into a text editor. Remove the html from the CEWP. Save the html in the editor as a .html file and upload it to a document library. Edit the CEWP and point the Content Link to the file you just uploaded. Putting html and/or script directly into a CEWP is possible on web part pages, not on wiki or publishing pages. ...


1

Read permission grants a user "View Version" base permission by default. If you have minor & major version turned on in a library, you can limit who can view the minor versions in the version history (readers, contributors, approvers) in List -> Settings -> Version Settings -> Draft Item Security.


1

Read permissions allow users to view past version history of list items. You can look at your permissions levels by going to Site Actions->Site Settings->Site Permissions, then click on Permissions Levels in the ribbon. I would suggest getting familiar with these permissions and perhaps creating your own to do what you want. Even Read permissions might ...


1

If you created the Site template before the Applying the English Language pack then it should be a problem. Because when you save the site as template it bundle everything which is part of sites and at that time English was not present so no reference for English.I am sure you getting some mismatch error. easy test is create a new template and try it


1

You cannot read directly from the webpart. But you can however write the values out in the control. Controls.Add(new LiteralControl(String.Format("<script type='javascript'>var customWebPartProperty1 = '{0}';</script>", myWebPart.CustomProperty1))); You can also write them to hidden fields in the webpart instead if that makes it easier.


1

Try item["Modified"] = null; That should make the Date/Time field empty.


1

You can get the document link using following line: var url = _spPageContextInfo.webAbsoluteUrl + oListItem.get_item('FileRef');



Only top voted, non community-wiki answers of a minimum length are eligible