Query listing primary user and the primary device
Is there a query to list the primary device and the primary user associated with that device. Coming from a LANDesk environment I was able to create reports and queries that would list this information pretty easily. I can't seem to link the two in
SCCM for reporting. Thanks
That's a SQL query that should be executed in SQL management studio. It can also be used to create a SRS report.
Torsten Meringer | http://www.mssccmfaq.de
Any hints, what it the query itself? And how it should be imported, that it will be created in SRS? Is there any instructions for this? Thanks.
Similar Messages
-
Query to extract users and the applications they have accessed?
I have been requested to list users and the external applications they have accessed (if they have that is!)
I produced a list to show they had logged on using the object orasso.wwsso_audit_log_table$
and I extracted the the applications they had access to using the objects orasso.wwsso_application_info_t and orasso.WWSSO_APPUSERINFO_T
But what I need to find is whether the users have access the applications listed in.
I have looked at alot of objects but nothing seems to spring out at me.
Please can anyone help?
Thank you
SueHi Manoj,
It is not possible in SAPB1.
Try to Export to Excel File.
check the thread,
Re: Authorisations List
Regards,
Madhan. -
Distance Between user and The kinect Device
Hey all :)
how to get the distance between user and the kinect ??
i found a function but it's in kinect v1
public static double GetSkeletonDistance(this Skeleton skeleton)
return (skeleton.Position.X * skeleton.Position.X) +
(skeleton.Position.Y * skeleton.Position.Y) +
(skeleton.Position.Z * skeleton.Position.Z);
i don't know how to make it under kinect v2 ?Joint head = body.Joints[JointType.hipCentre];
return head.Position.Z ;
it always return 0 :/
There is no hipCentre in Kinect v2 SDK. Have a look at
JointType Enumeration. There you can see all the available JointTypes. I am using the
SpineBase , because users may lean from time to time. So
return body.Joints[JointType.SpineBase].Position.Z;
should give you a nice distance. Keep in mind, that even the smallest changes will affect this value. So if you want to check for a distance, you might want to use a threshold or even joint accumulation.
Best regards,
Alex
Edit: Please mark Brekel's answer as answer. Thanks. -
PS Script to find the list of users and the groups in a Workgroup server
Hi There, could you please explain on how to get a complete list of local users and local groups in a "Workgroup" server to which they belong to using Powershell. I'm able to get the users list but couldn't find any help in finding
the script to find to which localgroup the user belong to. Anticipating your response. Also let me know the cmdlet for Win2k3 servers to find the same.Here's some code from David Pham (don't remember wher I fund this code):
Trap {"Error: $_"; Break;}
Function EnumLocalGroup($LocalGroup)
$Group = [ADSI]"WinNT://$strComputer/$LocalGroup,group"
"Group: $LocalGroup"
# Invoke the Members method and convert to an array of member objects.
$Members= @($Group.psbase.Invoke("Members"))
ForEach ($Member In $Members)
$Name = $Member.GetType().InvokeMember("Name", 'GetProperty', $Null, $Member, $Null)
$Name
# Specify the computer.
$strComputer = gc env:computername
"Computer: $strComputer"
$computer = [adsi]"WinNT://$strComputer"
$objCount = ($computer.psbase.children | measure-object).count
$i=0
foreach($adsiObj in $computer.psbase.children)
switch -regex($adsiObj.psbase.SchemaClassName)
"group"
{ $group = $adsiObj.name
EnumLocalGroup $group }
} #end switch
$i++
} #end foreach -
Getting a list of users and permission from a folder
I run this command to get a a list of users and permission from a folder
$project_folder = "\\servername\foldername"
get-acl $project_folder | %{ $_.Access } | ft -property IdentityReference, AccessControlType, FileSystemRights > folder.csv.
This only lists information for 1 folder.
If i have multiple folders how should the code be modified?this is the code i am looking for
$project_folder
= "\\servername\foldername\foldername1"
get-acl $project_folder | %{ $_.Access } | ft -property IdentityReference, AccessControlType,
FileSystemRights > folder.csv.
I run this code and this gives me the information for only the folder 'foldername1'.
Ex. i need a list of users who have permmission in \\servername\foldername\foldername2.
i run the code and it gives me the permissions and list of users in foldername2.
This is the issue
IF there are multiple folders \\servername\foldername\foldername2, \\servername\foldername\foldername1,
i need to run the code each time for 1 folder.
is there a command where i can combine the path of these 2 or more folders and export
it to csv
Ex. $project_folder
= "\\servername\foldername\foldername1",
"\\servername\foldername\foldername2"
get-acl $project_folder | %{ $_.Access } | ft -property IdentityReference, AccessControlType,
FileSystemRights > folder.csv.
This will give me the list of users and the type of access they have in foldername1 and
foldername2 -
Like it says in the title basically.
I want to use a time capsule to store my files and backups and access it from my phone and MacBook Air. However I do not want the others in my house who are currently connected to the same wifi/ethernet router to use my connection or my TC hard drives.
I had also been thinking about wirelessly extending the wifi network (a linksys N router) but I guess that will allow everyone to access my Time Capsule?
I hope you guys can help me.
Regards, Guido......will other users on the primary network (not the private wifi one) be able to access my files on my TCapsule?
No, if you have not provided them with the Time Capsule device password.
Users will be able to "see" the Time Capsule icon under the SHARED heading in the Finder on their Macs, but they will not be able to access the drive or the files.
I had also been thinking about wirelessly extending the wifi network (a linksys N router) but I guess that will allow everyone to access my Time Capsule?
Same answer as above. -
Dissociate an end user with the primary device
I need to "Enable Mobily" for a new hire and I need to select his phone as the primary device. However, I run into this error: "Update failed. Device is already associated with another End User as Primary device"
Is there a way to dissociate the old end user with the primary device? As a last report solution, do you think that by deleting the phone off the CUCM, it will fix the issue when I add the phone back to CUCM?
Many thanks!
-CalinThank you George for your prompt response. :)
How would you "hunt down the other user" in order to make sure the phone is not associated with that particular user. We have about 3000 phones.
I checked the phone settings under "Device" - "Phone" and there is no user under "Owner User ID". Although, I think that this field "Owner User ID" is not connected in any way to Extension Mobility.
Thanks!
-Calin -
my nephew put himself on my iphone and computer as the primary user and i can't access anything cause he forgot his pass word
Then you'll need to restore the iPhone to remove the passcode lock. iOS: Forgotten passcode or device disabled after entering wrong ...
-
Reset Primary User and Primary Workstation
I have a lot of PCs and Users with incorrect display of primary user and primary workstation. On each workstations with wrong user I can see in the properties of the ZCM Agent the wrong user and it is never updated.
I already modified the settings in - Configuration - Device Management - Primary User ... and Primary Workstation. Currently I have a Calculation of - Usage (greatest login time) - Reset after 2 Days - and it is NOT blocked due to settings on a ZENworks folder.
Where can i reset this user/workstation? In Registry or in a ZENworks Configuration file on each machine? I even have PCs which show locally "Nicht verfgbar" (not available) but show old users in ZCC.
We are running ZCM 10.3.4 with only Win7 64bit workstations and Server W2k8r2 with an MS-SQL DB
KlausBachmannK,
Have you used Action > Reset Primary User Calculation
Resets the primary user calculation schedule for the selected devices.
The next time a device refreshes its information, it reapplies the
primary user calculation method to designate its new primary user.
Shaun Pond -
Hi,
SharePoint 2010 Backup has been taken from production and restored through Semantic Tool in one of the server.The wepapplication of which the backup was taken is working fine.
But the problem is that the SharePoint is not working correctly.We cannot create any new webapplication ,cannot navigate to the ServiceApplications.aspx page it shows error.Even the Search and UserProfile Services of the existing Web Application is not working.Checking
the SharePoint Logs I found out the below exception
11/30/2011 12:14:53.78 WebAnalyticsService.exe (0x06D4) 0x2D24 SharePoint Foundation Database
8u1d High Flushing connection pool 'Data Source=urasvr139;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Connect Timeout=15'
11/30/2011 12:14:53.78 WebAnalyticsService.exe (0x06D4) 0x2D24 SharePoint Foundation Topology
2myf Medium Enabling the configuration filesystem and memory caches.
11/30/2011 12:14:53.79 WebAnalyticsService.exe (0x06D4) 0x12AC SharePoint Foundation Database
8u1d High Flushing connection pool 'Data Source=urasvr139;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Connect Timeout=15'
11/30/2011 12:14:53.79 WebAnalyticsService.exe (0x06D4) 0x12AC SharePoint Foundation Topology
2myf Medium Enabling the configuration filesystem and memory caches.
11/30/2011 12:14:55.54 mssearch.exe (0x0864) 0x2B24 SharePoint Server Search Propagation Manager
fo2s Medium [3b3-c-0 An] aborting all propagation tasks and propagation-owned transactions after waiting 300 seconds (0 indexes) [indexpropagator.cxx:1607] d:\office\source\search\native\ytrip\tripoli\propagation\indexpropagator.cxx
11/30/2011 12:14:55.99 OWSTIMER.EXE (0x1DF4) 0x1994 SharePoint Foundation Topology
75dz High The SPPersistedObject with
Name User Profile Service Application, Id 9577a6aa-33ec-498e-b198-56651b53bf27, Parent 13e1ef7d-40c2-4bcb-906c-a080866ca9bd failed to initialize with the following error: System.SystemException: The trust relationship between the primary domain and the trusted
domain failed. at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids, Boolean& someFailed) at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection
sourceSids, Type targetType, Boolean forceSuccess) at System.Security.Principal.SecurityIdentifier.Translate(Type targetType) at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName()
at Microsoft.SharePoint.Administration.SPAcl`1.Add(String princip...
11/30/2011 12:14:55.99* OWSTIMER.EXE (0x1DF4) 0x1994 SharePoint Foundation Topology
75dz High ...alName, String displayName, Byte[] securityIdentifier, T grantRightsMask, T denyRightsMask) at Microsoft.SharePoint.Administration.SPAcl`1..ctor(String persistedAcl)
at Microsoft.SharePoint.Administration.SPServiceApplication.OnDeserialization() at Microsoft.SharePoint.Administration.SPIisWebServiceApplication.OnDeserialization() at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider
persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state)
11/30/2011 12:14:56.00 OWSTIMER.EXE (0x1DF4) 0x1994 SharePoint Foundation Topology
8xqx High Exception in RefreshCache. Exception message :The trust relationship between the primary domain and the trusted domain failed.
11/30/2011 12:14:56.00 OWSTIMER.EXE (0x1DF4) 0x1994 SharePoint Foundation Timer
2n2p Monitorable The following error occured while trying to initialize the timer: System.SystemException: The trust relationship between the primary domain and the trusted domain failed. at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection
sourceSids, Boolean& someFailed) at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess) at System.Security.Principal.SecurityIdentifier.Translate(Type
targetType) at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName() at Microsoft.SharePoint.Administration.SPAcl`1.Add(String principalName, String displayName, Byte[] securityIdentifier, T grantRightsMask,
T denyRightsMask) at Microsoft.SharePoint.Administrati...
11/30/2011 12:14:56.00* OWSTIMER.EXE (0x1DF4) 0x1994 SharePoint Foundation Timer
2n2p Monitorable ...on.SPAcl`1..ctor(String persistedAcl) at Microsoft.SharePoint.Administration.SPServiceApplication.OnDeserialization() at Microsoft.SharePoint.Administration.SPIisWebServiceApplication.OnDeserialization()
at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state) at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid
id, Guid parentId, Guid type, String name, SPObjectStatus status, Byte[] versionBuffer, String xml) at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(SqlDataReader dr) at Microsoft.SharePoint.Administration.SPConfigurationDatabase.RefreshCache(Int64
currentVe...
Please guide me on the above issue ,this will be of great help
Thanks.I have same error. Verified for trust , ports , cleaned up cache.. nothing has helped.
The problem is caused by User profile Synch Service:
UserProfileProperty_WCFLogging :: ProfilePropertyService.GetProfileProperties Exception: System.SystemException:
The trust relationship between the primary domain and the trusted domain failed. at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids,
Boolean& someFailed) at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess) at System.Security.Principal.SecurityIdentifier.Translate(Type
targetType) at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName() at Microsoft.SharePoint.Administration.SPAcl`1.Add(String principalName, String displayName, SPIdentifierType identifierType, Byte[]
identifier, T grantRightsMask, T denyRigh...
08/23/2014 13:00:20.96* w3wp.exe (0x2204)
0x293C SharePoint Portal Server User Profiles
eh0u Unexpected ...tsMask) at Microsoft.SharePoint.Administration.SPAcl`1..ctor(String persistedAcl)
at Microsoft.Office.Server.Administration.UserProfileApplication.get_SerializedAdministratorAcl() at Microsoft.Office.Server.Administration.UserProfileApplication.GetProperties() at Microsoft.Office.Server.UserProfiles.ProfilePropertyService.GetProfileProperties()
Please let me know if you any solution found for this?
Regards,
Kunal -
Another user changed the primary key
am using jdev 11.1.1.5.0-adfbc
after each and every insert while saving the record
error throws like this >>>Another user changed the primary key
what should i do to avoid this?
<?xml version = '1.0' encoding = 'UTF-8'?>
<BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">
<AppModuleConfigBag ApplicationName="com.rits.glm.model.servicesAM.generalLedgerAM">
<AppModuleConfig DeployPlatform="LOCAL" JDBCName="goodwell" jbo.default.country="IN" jbo.project="com.rits.glm.GeneralLedger" name="generalLedgerAMLocal" ApplicationName="com.rits.glm.model.servicesAM.generalLedgerAM">
<Database jbo.locking.mode="optimistic"/>
<Security AppModuleJndiName="com.rits.glm.model.servicesAM.generalLedgerAM"/>
</AppModuleConfig>
<AppModuleConfig DeployPlatform="LOCAL" JDBCName="goodwell" jbo.default.country="IN" jbo.project="com.rits.glm.GeneralLedger" name="generalLedgerAMShared" ApplicationName="com.rits.glm.model.servicesAM.generalLedgerAM">
<AM-Pooling jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.isuseexclusive="false" jbo.ampool.maxpoolsize="1" jbo.ampool.resetnontransactionalstate="false"/>
<Database jbo.locking.mode="optimistic"/>
<Security AppModuleJndiName="com.rits.glm.model.servicesAM.generalLedgerAM"/>
</AppModuleConfig>
</AppModuleConfigBag>
</BC4JConfig>some suggestions
JBO-25014: Another user has changed...
http://adfhowto.blogspot.com/2010/12/troubleshooting-another-user-has.html
Another user has changed the row with Primary key -
When I sync my phone I get my husband's phone contact list, apps, etc and the same happens when he syncs his phone. It does recognize our phones as different users so how can I stop this from happening when we sync?
Did you tick the box in iTunes to sync with the Mac address book? Are you using the same user account on your Mac, with the same contacts in the same address book?
-
Query to fetch users and User Authorizations
Hi
I have a task to retrieve the all users and the authorizations. I am trying to run a query to get the results.
Inorder to get the users, I use
select * from OUSR
But I am stuck with authorizations.
Can anyone help.
Thanks in advance.
MSJ.Hi Manoj,
It is not possible in SAPB1.
Try to Export to Excel File.
check the thread,
Re: Authorisations List
Regards,
Madhan. -
List normal users and corresponding ops$users in Oracle database in groups
Hi,
We are having Oracle database version 11.2.0.2 on Oracle Ent. Linux 5.1. Basically, according to our requirement, we need to list similar users in the database which are having individual usernames as well as their corresponding ops$usernames (in one query).
Eg. in the database if have users 'xyz' and 'ops$xyz', 'abc' and 'ops$abc', then we need to write a query which can list this users together in groups as below;
xyz
ops$xyz
Similarly,
abc
ops$abc.
Can you help me write a query so that I can list all these similar users residing in my database together.
Also, later I need to find out the roles and privileges assigned to these users once its listed.
Thanks in advance.
~ RahulHi, Rahul,
To ignore leading 'OPS$' when sorting:
SELECT username
FROM dba_users
ORDER BY REGEXP_REPLACE ( username
, '^OPS\$'
;'$' has a special meaning in regular expressions, so when you literally want a '$' sign, it has to be "escaped" as '\$'.
Edited by: Frank Kulash on May 17, 2013 9:52 AM -
How to get list of users assinged the same product catagory
Hi All ,
we have a requirement in which we need to get the list of users who are assigned the same product category.
ie if we give the prod category 14000000 then we need the list of users assigned the 14000000 prod category.
is any FM available.
please help.
Regards
Channappa SajjanarHi Chinnappa,
1) You can create a table query for tables HRT1222 and HRP1222 to get the org Id or Position Id assigned for the product category.
Then use FM BBP_OM_STRUC_GET_USER_FROM_POS to get the list of users for that org ID.
2) or if you want to check list of prod categories linked to user ID, then use FM BBP_READ_ATTRIBUTES
rgds,
Ravi
Maybe you are looking for
-
Netbeans not running under root user
I noticed that after installing Netbeans under user 'root', I'm able to use it under my user account, but it doesn't launch when I'm logged in as root. I'm running Arch x86_64 with XFCE in VirtualBox. Everything else works, including: Firefox Pidgi
-
Error while creating SAPJSF user
Hi all, I am receiving following error despite manually creating sapjsf user in client 800. This is the trace from dev_usercheck. Aug 31, 2010 6:05:16 AM ...eck.main() Path: Entering method Aug 31, 2010 6:05:16 AM ...eck.main() Debug: Version: $I
-
Use of FAX on Softphone number
I have a HP Office jet 6500 with a built in fax, it works fine as fax on my Home number but does not appear to want to dial out using the softphone number on the Home hub2.1. Any ideas??
-
Adobe Acrobat 9 Standard for the Mac?
Okay, I apologize for what may appear to be a frightfully stupid question, but is there an Acrobat 9 Standard for the Macintosh? There appears to be support files and such for Adobe 9 Pro for the Mac available, but whenever I search for the Adobe 9 S
-
Removing non english characters from my string input source
Guys, I have problem where I need to remove all non english (Latin) characters from a string, what should be the right API to do this? One I'm using right now is: s.replaceAll("[^\\x00-\\x7F]", "");//s is a string having chinese characters. I'm looki