Board index   FAQ   Search  
Register  Login
Board index PHP PEAR and PECL

LDAP.php -> enumerate ALL groups a user is a member of.

Do you have questions regarding Pecl or Pear? ask here!

Moderators: macek, egami, gesf

LDAP.php -> enumerate ALL groups a user is a member of.

Postby walter81 » Sun Aug 07, 2005 10:30 pm

Hello

how can I enumerate all Active Directory groups a user is member of? I can enumerate all groups a user is directly placed in, but not nested groups.
Like this:
groups:
1)finance
2)reception
3)HR
4)direction
5)ICT
6)Administration
7)Domain Admins
users:
1)C.Walker
2)M.Smelly
3)S.Tupid Names

user 1 is member of group finance and group HR
user 2 is member of group reception
user 3 is member of group ICT
group Administration has 3 member-groups: Finance, HR & reception
group Domain Admins has 1 member group: ICT

if I enumerate the groups of user 1 (with the memberof attribute), it will return Finance and HR, but NOT Administration. (& dito for user3: it will return ICT but NOT Domain Admins)

I'm using the PEAR LDAP-functions (http://de.tikiwiki.org/xref-BRANCH-1-9/ ... ource.html)
& I'd like the extend it with a function "getGroups($user)" wich returns all groups $user is a member of (duh ;o)

If anyone can explain me how I get the checkGroup($user) function to work: I'd be gratefull too.

PS: I do not have PEAR installed, I'm only using the LDAP.php functions
walter81
New php-forum User
New php-forum User
 
Posts: 2
Joined: Sun Aug 07, 2005 10:28 pm

Postby walter81 » Tue Aug 09, 2005 12:28 am

Right now i've firured it out so far: I need a function wich enumerates all groups a group belongs to. I'm sure it's possible, but I'm not quite comfortable in AD-query's....

thanx in advance
walter81
New php-forum User
New php-forum User
 
Posts: 2
Joined: Sun Aug 07, 2005 10:28 pm

herve legers cheapest Herve Leger on sale (43)

Postby galloway8 » Thu May 16, 2013 2:58 am

Getting involved in affiliate marketing is a very attractive activity for many. You can promote products with effective and cheap advertising methods. You may be working [url=/]herve leger homme[/url] a full time job, and want to make more money without having to grind out an 8 hour shift. Working full time can be a draining activity!
You may be interested in affiliate marketing online, but are not sure where to find quality affiliate programs. A good place to find affiliate programs and products is on an affiliate network like Linkshare or Clickbank.
So what are affiliate herve leger halter dress networks? An affiliate network brings merchants and affiliates together. An affiliate network is a place that merchants place their products, acting like a marketplace for affiliates. So if you wanted to find an affiliate product or program to promote, herve leger apparel you could check an affiliate network for a list of affiliate products.
There are many advantages to going with an affiliate network like Linkshare or Clickbank. Here is a list of a few benefits.
? Affiliate herve leger copy dresses networks handle money issues with merchants. You focus on marketing, and the affiliate networks will make sure you get paid when sales are made.
? Working with an affiliate network allows for fewer checks to cash. If, for example, you promote 10 products with one affiliate network, your monthly check will come in one check instead of 10. This makes it easier to get money and keep track of things.
? Affiliate networks provide statistics on all products. You can research which products are converting sales. So once you pick a product with a good sales page, you?ll be rest assured that the sales page will do its job, once you send visitors there.
? Affiliate networks provide monthly reports that allow you to track commissions. The monthly reports will help you decide whether it?s worth continuing to promote certain products.
Two of the biggest affiliate networks are Linkshare and Clickbank. You can browse these two affiliate networks, and compare products and commission rates. One thing you need to know is that affiliate networks like Linkshare and Clickbank pay herve leger dresses for less lower commission rates to affiliates, because they have to pay for the costs of running their business.
<br herve leger dresses discount />So do you need to sign up with an affiliate network? The answer to that is situational. You can sign up directly with a merchant and possibly get higher commission rates, but this isn?t something you can always do. Certain merchants have their products available only on affiliate networks.
Overall, joining an affiliate network is not a bad idea. Whether you start earning serious money is more dependent on your marketing strategies and how hard you work, rather than the commission rate differences between an affiliate network and signing up directly with a merchant.
To your success!
Lee

Related articles:


herve leger cheapest Herve Leger on sale (6)

herve leger cheapest Herve Leger on sale (12)

fake herve leger dresses cheapest Herve Leger on s
galloway8
New php-forum User
New php-forum User
 
Posts: 127
Joined: Mon Jan 07, 2013 3:36 am


Return to PEAR and PECL

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.