RE: Getting a list of roles

From: jzhu (anonymous_at_discussions.microsoft.com)
Date: 05/28/04

  • Next message: Joe Reazor: "Re: FormsAuthentication Class Question"
    Date: Fri, 28 May 2004 12:26:04 -0700
    
    

    Because the group information is already built for the user in the token, so the API call should have almost no cost.

    Making DirectoryService call is much more expensive (going across the wire to a domain controller), and you can only get groups that the user is a direct member (so if a user is a member of A and A is a subgroup of B, then B will not show up in the groups). The situation is made easier in Win2003 though.


  • Next message: Joe Reazor: "Re: FormsAuthentication Class Question"

    Relevant Pages

    • Re: RDU light rail program likely dead
      ... > Yes, there are several criteria, depending on what type of money is ... If federal money is involved, ... > will never get built, but will garner votes, as John pointed out. ... priority - because the cost associated with them would rise .. ...
      (misc.transport.road)
    • Re: Why !deadlock command is not functional ?
      ... b9ede000 b9f3f000 tcpip (pdb symbols) ... f74c7000 f74d4000 PCIIDEX PCIIDEX.SYS ...
      (microsoft.public.development.device.drivers)
    • Re: LockMart, Beoing team up for bomber
      ... and potentially shooting down even low-observable aircraft. ... Even though the F-22's stealth features and ability to fly supersonic ... The cost is not the cost of destroying the target. ... built so no one can make any claim about "doing the job". ...
      (rec.aviation.military)
    • Re: Heads-up: Possible Televisual Recovery
      ... Or is it that you aren't that interested in things trucks bring? ... And I'd be quite happy if there were simply a rule that roads built to ... There's also something that is not, apparently, a government that can ... Of course some people reckon it is a lot easier if the cost burden is ...
      (alt.sysadmin.recovery)
    • Re: You and Your Bits today
      ... built" PC trounced a shop bought system for exactly the same price... ... Nor of course did they factor in any labour cost for turning a box full of bits (From Scan. ... upgradable but failed to reveal who paid for the operating system and applications or how much they cost used on the "home built" system... ... I don't think right now you could build a system the same as he did and, by the looks of things, the nearest one you could build would just break their 500 quid limit. ...
      (uk.comp.sys.mac)