How do I add custom properties to an AD group in Windows? - windows

I'd like to know how to script this. Also, is there an out of the box GUI tool that will let me do this?

Are you referring to the CustomField attributes that exchange adds when you extend the AD Schema? If so, then you could use ADSIEdit.
If you want to make your own fields then I think your options would be extend the schema or possibly use ADAM.
I haven't used ADAM for Groups, but I think its still possible.
There are some basic scripts on accessing groups at Microsoft's Script Center.

Related

How to create new work items in TFS with WIQL

I´m creating a desktop application (WinForms C#) for my team which enables to manage some basic operations with TFS as like create tasks, bugs and user stories. The main idea is to make this management process faster... However, I found how to get the work items by using WIQL but I don´t know if it's posible to create new work items using WIQL... I have not idea how to do that, so I don't have code to show you. I just know how to GET, but I don't know how to create CREATE.
Thanks in advance.
You don't. WIQL stands for work item query language. It's for querying, not for creating.
If you want to create work items, you'll have to either use the Extended Client object model for C# or directly invoke the REST APIs, both of which are thoroughly documented.

Create a Motorcycle configurator in Microsoft Dynamic CRM Online

I am trying to find a better solution for a Motorcycle Shop. I like the idea to use Microsoft Dynamic CRM for customer loyalty, that is a good idea but in the other hand I have the Motorcycle Configurator where you can configure the motorcycle as you want. Select version, color, etc.
My idea is to make an external solution because I need to consume data from many sources and sincerely is not the crm function to configure a motorcycle. Someone has worked with something similar that can enlighten me.
Thanks in advance.
Usualy such tasks are solved following way:
1. There is separate tool (software) with a good interface to configure car, complex equipment or something else. Such tools provides interfaces and configurations rules and validation (there are options which can exclude each other and so on)
2. This tool is integrated with Dynamics CRM and creates order or quote lines. Each line is either product or option. So crm is not responsible for validation o configuration.
So first of all I can propose to investigate what options you current configurator provides to integrate with it.

Is there a Joomla (3.x) development API for creating and managing custom user groups?

I just started with Joomla 3.x and I'm writing a component for Joomla v3 which is supposed to create new usergroups for creating 'groups'- the design requirements being:
An organisation may set up a group to offer access to some set of services -including communication but also also other types of services - to their members
(the other services is the reason why I believe the community and forum joomla extensions are not suitable- they mostly focus at fora and social media services, not the services I will implement.)
Other persons/members of the organisation may register to this group, which allow him/her to access these services
ps: it is also possible for person to set up a personal account and get access to the set of services. This person may also join one or more groups at a later stage
How to do code the creating of new usergroups? I noticed a possible suggested solution at How to create custom User Group Programmatically in Joomla 3.x, but I struggle to understand how to use the suggested JTableUsergroup class because of the limited documentation at http://docs.joomla.org/API17:JTableUsergroup(?) Does creating an instance of JTableUsergroup results in the creation of a new customer user group?
Another question: how to add users to a customer usergroup? The only hint I found was at http://api.joomla.org/cms-3/classes/JUserHelper.html - using the method addUserToGroup of class JUserHelper.
Many of the Joomla development concepts are well document but I could not find one for managing custom user groups...
Appreciate your help;-)
First, overall, the best consistent documentation of Joomla APIs is in the docblocks for the classes. Then to be honest what I do a lot of times is to search for where in the core the API is used. There are some great pieces of narrative documentation in the wiki, but on the whole I always start with the docblocks which are very complete. However in this case it's pretty simple.
You need to do something along the lines of
$newrow = JTable::getInstance('Usergroup');
//code to add your data
$newtable->save(); // Shortcut for check, bind, store
However, if I were you I would look carefully at UsersModelGroup because there are a lot of other things that should normally happen in this process such as running the user plugins. So I might include and extend that model (which manages the table class) rather than going to the table class directly. In fact your whole component might even be able to extend almost all of the users component or it might also be possible that you could do what you want with plugins rather than reinventing the whole thing.
In terms of assigning users to groups that is trickier because of some legacy things in the code. I think the setter followed by a $user->save() ($user being a JUser instance) is probably the way to go when adding to groups. What I probably would do is to write a custom JFormField that would manage opt-in groups because the core usergroup field includes everything. You could extend that and exclude the groups that you want to have only managed by admin.

What is the best extension for Image changing on Joomla CMS?

I have this specific requirement that there is a list of names of people and a container for photo.
So when I click on specific user's name, his photo will appear in that container.
Is there any specific extension for this, so that admin can manage all the people names with their images ?
Thanks in advance.
If you are referring to an Avatar and using Joomla 2.5+ then I would recommend using Community Builder. I know it's a fairly big system, however it extends user profiles massively and might come in handy in the future.
If you're using Joomla 1.5 then you could always use DAvatar which is simply a plugin.
Hope this helps
You can user Community Builder as well but its very large & powerful extension & i think your interested to show only users image. If you have Joomla 2.5 then Profile Picture plugin will be most suitable for your case. Here is the link check it out. http://extensions.joomla.org/extensions/clients-a-communities/user-management/19702 . Hope it helps you.
Community builder is overkill just to get an image.
Here are a few options, depending on how often these are updated and whether you want to allow users to update these themselves.
Of course you can always make a category and an article for each team member, then use the links and urls to load the image in a standard location (override +use css in your template to do this). Use ACL to manage who can change this and to decide if you will allow users to manage.
Use the image field in the contact component, put all of the team members in the same category in contact. Put bio etc in miscellanous information. Only admins can manage this since it is edited back end only.
Use a profile plugin for com_user if you want users to be able to manage for themselves.

Magento: Need information for a setup script

I'm trying to create a setup script to install custom attributes on my DB tables and I'm looking for references on regards to the following. I just need to know what they really do as on some of the examples I listed which I found on another question but I haven't located any information anywhere else. If someone knows where I can read about this, I'd appreciate it.
adminhtml_customer //to make the attribute can be created in backend only
customer_account_create //to make the attribute can be created in registration only
customer_account_edit // to make the attribute can be edited in the frontend only
customer_address_edit
customer_register_address
checkout_register
adminhtml_customer_address
based on the 3 first samples I listed, I can sort of guess what the others do but I do want to be mistaken about my guess and if there are others that I did not list, I'd be happy to get that information as well.
Give a look to the setup script of core code Pools (/app/code/core/Mage) modules, you can find a lot of good hint

Resources