Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to get current identity

how to get current identity

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ravjak
    wrote on last edited by
    #1

    Hi! I want to know how to get current Identity. I need to know which of wab or OE identities are currently in use. Strange thing is that i can retrive WAB entries on allready logon client but i don't know who he is. Probably this function will return such string {C9DB85FC-7CA3-4CE7-850B-81F9B94CCD14} which what im looking for :) Pain is a weakness living the body

    D 1 Reply Last reply
    0
    • R ravjak

      Hi! I want to know how to get current Identity. I need to know which of wab or OE identities are currently in use. Strange thing is that i can retrive WAB entries on allready logon client but i don't know who he is. Probably this function will return such string {C9DB85FC-7CA3-4CE7-850B-81F9B94CCD14} which what im looking for :) Pain is a weakness living the body

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      I'm not sure exactly what you are after, so let me start here. If you know the account name and want the SID, use LookupAccountName(). if you know the SID and want the account name, use LookupAccountSid(). Am I way off?


      "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups