Saturday, August 22, 2015
Collecting the user's FULL NAME in the SCCM Database
Step 1: Check to see if you're already gathering the full username by going to Collections, All Users. Do you have usernames listed? If so, pick one (like your own), right-click properties on it, and look through the Discovery Data, i.e., looking for Full User Name. If you're already gathering the information, then it's just a matter of designing a custom report correctly. If you aren't Discovering Users out of AD, then check to confirm you have "Active Directory User Discovery" enabled in Site Management, <your primary site>, Site Settings, Discovery Methods. You may need to click on the * and add in the right LDAP location. Monitor Logs\adUsrDis.log to confirm user discovery is working right to pull in user information. Once it's done (per the log), go update/refresh th All Users collection and make sure you see the Full User Name now.
Step 2: Linking last logged on user to the full name.... something like...
select
sys.netbios_name0, usr.Full_User_Name0,usr.Unique_User_name0,usr.User_Name0from v_r_user Usrjoin v_r_system sys on sys.user_name0=usr.User_name0
NOTE: sometimes, people may not login as <short username> and select the domain from the pull-down menu. So if you think you might have that, where people type in DomainName\Username, and then their password, the join won't match up right. You'd need a report like this:
select
sys.netbios_name0, usr.Full_User_Name0,usr.Unique_User_name0,usr.User_Name0from v_r_user Usrjoin v_r_system sys on sys.user_name0=usr.Unique_User_name0
Labels:
Custom Report,
SCCM 2007,
SCCM 2012,
SMS
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment