Get user statistic by abap user group?
Hi,
I need to get number of users visited portal by abap user group?
Is it possible to do so using portal activity reports?
Activity report has only option for user separating by abap rols.
great thanks for all.
Edited by: Evgeny Borzykh on Aug 21, 2009 12:31 PM
Not quite the intent I think.
If we view the hierarchy of nodes as a way to manage a hierarchy of resources specific to your program (think of hierarchical contexts) then I want to be able to put/get objects by key (and not just strings as keys). I don't see any API for this so I would propose augment set/getUserData with getResources() that returns an observable map unless there is another way to do this now.
Similar Messages
-
Sharepoint 2010 get User Groups from specific site
Hello,
I was able to get all User groups from entire site Collection.
But instead of getting user groups from entire site, I want read user groups only from one specified sub site.
Please help!
ThanksAssuming you have an SPWeb object named "web", example:
SPSite site = new SPSite(http://yourdomain/sites/yoursite);
SPWeb web = site.OpenWeb("mysubsite/subsbusite");
web.Groups will return a collection of SPGroup objects for the current subsite. If this subsite inherits permissions from a parent site (web.HasUniquePerm = False), the list is the same as the Groups property of the parent site.
SPWeb.Groups:
http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spweb.groups(v=office.15).aspx
SPGroup:
http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spgroup(v=office.15).aspx
You would be better results by posting coding questions in "SharePoint 2010 - Development and Programming" instead of "SharePoint 2010 - General Discussions and Questions".
Mike Smith TechTrainingNotes.blogspot.com
Books:
SharePoint 2007 2010 Customization for the Site Owner,
SharePoint 2010 Security for the Site Owner -
Hi,I'm trying to get an user group using VB API.I'm using function ESB_GetUser, I tried the fields type, name, description....Name returns the username and not the group name. AppName and DbName do n ot return any value. However I do not have any error...Any idea? A bug maybe? Is it possible to do a such thing with API?Thanks for your help--------------------Sub ESB_GetUser()Dim sts As LongDim User As StringDim str_group As StringDim UserInfo As ESB_USERINFO_TDim str_type As String * ESB_TYPE_USERDim str_name As String * ESB_USERNAMELENDim str_description As String * ESB_DESCLENDim str_appname As String * ESB_APPNAMELENDim str_dbname As String * ESB_DBNAMELENDim str_access As String'Starting an API connectionCall ESB_InitCall ESB_AutoLogin(cst_application)User = "my_user"'************************' Get User Info structure'************************sts = EsbGetUser(hCtx, User, UserInfo)str_name = UserInfo.namestr_type = UserInfo.Typestr_appname = UserInfo.AppNamestr_dbname = UserInfo.DbNamestr_access = UserInfo.Accessstr_description = UserInfo.Description'DeconnectingCall ESB_LogoutCall ESB_Termmsg = "User " & User & " belongs to " & str_description & " group."res = MsgBox(msg, vbOKOnly)End Sub
Please check the PDK APIs for what APIs are available. Note that a user can belong to more than one group. They can define one of their groups as their default group. There is an API to get the default group for a user.
-
Hi,
How can I get current users groups since the User and Group objects are marked as deprecated.
Right now I'm doing the folowing:
User user = request.getResourceResolver().adaptTo(User.class);
Iterator<Group> groupsIterator = user.memberOf();
Is there an other way to do it properly and without using deprecated methods/objects?
Regards,
PiotrHi devPl83,
Assuming you are on CQ5.5+, you should use org.apache.jackrabbit.api.security.user.User
http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/security/User.html:
Cheers -- David -
Hi All,
How can I obtain the user group by using c# code ?
when user is log in I want to show on textbox the user name and the group privilege.
TnxThere are a couple of pictures in the following thread, use the same methods and properties in your c# code:
http://forums.ni.com/t5/NI-TestStand/get-group-name-of-currently-logged-in-user/m-p/595452/highlight...
Beginner? Try LabVIEW Basics
Sharing bits of code? Try Snippets or LAVA Code Capture Tool
Have you tried Quick Drop?, Visit QD Community. -
ISE / Active Directory: issue to get users group
Hello,
We have a strange issue:
- ISE 1.2 patch 8
- no WLC, autonomous AP
In authentication, we check Wireless IEEE 802.11 (radius) and cisco-av-pair (ssid), then we use AD.
We have 3 SSIDs, so 3 rules, one DATA, one GUEST, one for TOIP.
In one more rules to grant authentication from APs to register in WDS: user in local database.
In authorization, we check cisco-av-pair (ssid) and AD user group, then we permit access.
(so 3 rules), and one more to authorise the internal base for WDS.
We have something strange:
- sometimes users can connect but later they can't: in the logs, the authorization rejects the user because the AD Group is not seen.
Exemple:
1- OK:
Authentication Details
Source Timestamp
2014-05-15 11:43:19.064
Received Timestamp
2014-05-15 11:43:19.065
Policy Server
radius
Event
5200 Authentication succeeded
All the GROUPS of user are seen:
false
AD ExternalGroups
xx/users/admexch
AD ExternalGroups
xx/users/glkdp
AD ExternalGroups
x/users/gl revue écriture
AD ExternalGroups
xx/users/pcanywhere
AD ExternalGroups
xx/users/wifidata
AD ExternalGroups
xx/informatique/campus/destinataires/aa informatique
AD ExternalGroups
xx/informatique/campus/destinataires/aa entreprises et cités
AD ExternalGroups
xx/informatique/campus/destinataires/aa campus
AD ExternalGroups
xx/users/aiga_creches
AD ExternalGroups
xx/users/admins du domaine
AD ExternalGroups
xx/users/utilisa. du domaine
AD ExternalGroups
xx/users/groupe de réplication dont le mot de passe rodc est refusé
AD ExternalGroups
xx/microsoft exchange security groups/exchange view-only administrators
AD ExternalGroups
xx/microsoft exchange security groups/exchange public folder administrators
AD ExternalGroups
xx/users/certsvc_dcom_access
AD ExternalGroups
xx/builtin/administrateurs
AD ExternalGroups
xx/builtin/utilisateurs
AD ExternalGroups
xx/builtin/opérateurs de compte
AD ExternalGroups
xx/builtin/opérateurs de serveur
AD ExternalGroups
xx/builtin/utilisateurs du bureau à distance
AD ExternalGroups
xx/builtin/accès dcom service de certificats
RADIUS Username
xx\cennelin
Device IP Address
172.25.2.87
Called-Station-ID
00:3A:98:A5:3E:20
CiscoAVPair
ssid=CAMPUS
ssid
campus
2- NO OK later:
Authentication Details
Source Timestamp
2014-05-15 16:17:35.69
Received Timestamp
2014-05-15 16:17:35.69
Policy Server
radius
Event
5434 Endpoint conducted several failed authentications of the same scenario
Failure Reason
15039 Rejected per authorization profile
Resolution
Authorization Profile with ACCESS_REJECT attribute was selected as a result of the matching authorization rule. Check the appropriate Authorization policy rule-results.
Root cause
Selected Authorization Profile contains ACCESS_REJECT attribute
Only 3 Groups of the user are seen:
Other Attributes
ConfigVersionId
5
Device Port
1645
DestinationPort
1812
RadiusPacketType
AccessRequest
UserName
host/xxxxxxxxxxxx
Protocol
Radius
NAS-IP-Address
172.25.2.80
NAS-Port
51517
Framed-MTU
1400
State
37CPMSessionID=b0140a6f0000C2E15374CC7F;32SessionID=radius/189518899/49890;
cisco-nas-port
51517
IsEndpointInRejectMode
false
AcsSessionID
radius/189518899/49890
DetailedInfo
Authentication succeed
SelectedAuthenticationIdentityStores
AD1
ADDomain
xxxxxxxxxxx
AuthorizationPolicyMatchedRule
Default
CPMSessionID
b0140a6f0000C2E15374CC7F
EndPointMACAddress
00-xxxxxxxxxxxx
ISEPolicySetName
Default
AllowedProtocolMatchedRule
MDP-PC-PEAP
IdentitySelectionMatchedRule
Default
HostIdentityGroup
Endpoint Identity Groups:Profiled:Workstation
Model Name
Cisco
Location
Location#All Locations#Site-MDP
Device Type
Device Type#All Device Types#Cisco-Bornes
IdentityAccessRestricted
false
AD ExternalGroups
xx/users/ordinateurs du domaine
AD ExternalGroups
xx/users/certsvc_dcom_access
AD ExternalGroups
xx/builtin/accès dcom service de certificats
Called-Station-ID
54:75:D0:DC:5B:7C
CiscoAVPair
ssid=CAMPUS
If you have an idea, thanks so much,
Regards,To configure debug logs via the Cisco ISE user interface, complete the following steps
:Step 1 Choose Administration > System > Logging > Debug Log Configuration. The Node List page appears, which contains a list of nodes and their personas.
You can use the Filter button to search for a specific node, particularly if the node list is large.
www.cisco.com/en/US/docs/security/ise/1.0/user_guide/ise10_logging.html#wp1059750 -
How to get logged-in user/group information in WebLogic Portal 10.3.2
Hi bros.
I have a codesnipet to get information about user who actually logged in weblogic portal:
import javax.security.auth.Subject;
import javax.security.auth.login.LoginException;
import com.bea.p13n.security.Authentication;
import com.bea.portal.tools.security.user.*;
public class UGMSummary {
private static final String username = "weblogic";
private static final String password = "webl0gic";
public UGMSummary(){
public void test(){
try {
Subject tmp = Authentication.authenticate(username, password);
//PolicyItem pi = new PolicyItem();
//System.out.println("######## " + Authentication.getCurrentSubject().toString());
UserIDBuilder builder = new UserIDBuilder();
UserID uid = builder.createResourceID();
System.out.println("######## Admin ? " + Authentication.isAdministrator(tmp));
System.out.println("######## Anonymous ? " + Authentication.isAnonymous(tmp));
System.out.println(" ######## " + uid.getUserName());
} catch (LoginException e) {
System.out.println(e.getMessage());
//e.printStackTrace();
}Some println commands above are used to mark in console. I can ensure that there is an user (admin) logged in weblogic system by executing command: Authentication.isAdministrator(tmp);
Output of codesnipet above is:
######## Admin ? true
######## Anonymous ? false
######## nullMy problem is impossible to use UserID object to get username of weblogic user. Output of command: uid.getUsername() is: null
Somebody tell me why my code doesn't work though it can authenticate an user.
Thank in advance.
ps:
Some Javadoc for UserID can be found here:
http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14255/index.html
http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14255/index.htmlHi, Kevin.
I'm glad to see your response again. I found some interesting information from your recommendation link. At this time, I know that impossible to get users/groups information by using DelegatedAtnProxyManagerControlFacade (ref: http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14255/com/bea/portal/tools/ugm/controls/DelegatedAtnProxyManagerControlFacade.html) interface.
But, I dont know how to get an instance of an object that implemented this interface. My friend give me a codesnipet that shown the way to get a DelegatedAtnProxyManagerControlFacade by using this codesnipet in a GlobalController:
try
DelegatedAtnProxyManagerControlFacade delegatedAtnProxyManager = (DelegatedAtnProxyManagerControlFacade)getControl(DelegatedAtnProxyManagerControlFacade.class);
catch (PolicyRefException e)
reportPolicyRefException(e);
catch (OperationNotSupportedException e)
reportOperationNotSupportedException(e);
}But I dont know what global.GlobalController actually is ?
I've asked Google for information but I got nothing. Do you know any documentation that describes about this controller ?
Thanks, regards !
Doubt_Man. -
How to get user attributes from LDAP authenticator
I am using an LDAP authenticator and identity asserter to get user / group information.
I would like to access LDAP attributes for the user in my ADF Taskflow (Deployed into webcenter spaces).
Is there an available api to get all the user attributes through the established weblogic authenticator provider or do i have to directly connect to the LDAP server again?
Any help would be appreciatedHi Julián,
in fact, I've never worked with BSP iViews and so I don't know if there is a direct way to achieve what you want. Maybe you should ask within BSP forum...
A possibility would be to create a proxy iView around the BSP iView (in fact: before the BSP AppIntegrator component) which reads the user names and passes this as application params to the BSP component. But this is
Beginner
Medium
Advanced
Also see http://help.sap.com/saphelp_nw04/helpdata/en/16/1e0541a407f06fe10000000a1550b0/frameset.htm
Hope it helps
Detlev -
How do you resolve an issue when creating groups on a Mac Mini Server when this error message appears.
"Unable to get Users & Groups State, The Open Directory master was created, but a problem was encountered trying to refresh the state of the server. Check log files for more info."Most likely, the Server was not configured correctly - DNS is a common issue, If DNS is not configured properly, OD will not be happy. You can run
sudo changeip -checkhostname
in Terminal to see of DNS is up and running.
Here's a great tutorial (not mine) for setting up OS X Servers. The page says it's for a typical school environment, but it can be applied in many other environments.
http://www.wazmac.com/servers_network/fileservers/osxserver_setup/index.htm
hth
Jeff -
Assign SQ03 Abap Query User Group to role
Please advise how to assign SQ03 Abap Query User Group to a role. Thanks.
Moderator message: please do more research before asking.
[Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
[Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
Edited by: Thomas Zloch on May 12, 2011 5:40 PMHello Sunil,
The problem is that I have hundreds of users to maintain user groups.
found out that it is possible to assign user group to role and role to user groups. implementing hr authorization with in-direct assignment of auth. So if I could use sq10, user groups could also be link to position in the org chart.
sq10 does allow you to assign a user group to a role but when you assign the role to a user and the user runs a query, it reports that no user group has been assigned.
Suspect that there must be a parameter or switch that is not turned on
Regards -
Hi Friends,
My doubt is regarding ABAP Queries. when we create user groups , in which table and field does the data holds, which will be useful in retrieving the data.
Please help me ASAP, as this would get break through in solving severity 2 ticket.
With thanks and regards
umapathyHello,
The data is available in 'AQGDBBN'.
For further details you can go thru tables with pattern 'AQ*'.
regards,
S. Chandra Mouli. -
Analytical Services failed to get user's parent group tree with Error
Hi,
We have a frequent errror during our weekly batch for an application.
The context:
- Essbase Administration Services we are using is version is 9.3.1.
- 8 applications are calculated during the week-end. The scripts executed are exactly the same for the 8 applications.
- For example let's say that 5 scripts are launched during the night in the batch for each application (script 1, script 2 ... script 5)
- App1 and App2 are launched alone and before the 6 others applications as these applications database are 3 x bigger (App1 is calculated alone, then app2 is calculated alone, then app3 to app8 scripts are launched in the same time).
The issue :
- We don't see any issue for app3 to app8, the calculation are executed without any problem from script1 to script5.
- But we have an error in App1 and App2 log when the bath execute script 4 and we see the following error in the server log **
"Analytical Services failed to get user's parent group tree with Error".
(** : we don't see any log for script 4 in the application log - it's like the server bypass script 4 to go directly from script 3 to script 5 )
Nothing special is done in script 4 but just an aggregation of the Year dimension (using a @SUM(@RELATIVE(Year,0)) calculation.
I think that there is may be a synchronization error with Shared Services but what is strange is that it's always for the same script 4 and the batch is launched at different time every week-end.
Can the issue be linked to the size of the database of applications (8 Gb) and difficulties for the processor to executes aggregation in a large database volume ?Hi,
According to your description, my understanding is that the error occurred when sending an email to the user in workflow.
Did you delete the existing Connections before setting NetBiosDomainNamesEnabled?
If not, I recommend to delete and recreate your AD connections, then set NetBiosDomainNamesEnabled to true.
Or you can delete the original User Profile Service Application and create a new one, then set the NetBiosDomainNamesEnabled to true and start the User Profile Service Application
synchronization.
More reference:
http://social.technet.microsoft.com/wiki/contents/articles/18060.sharepoint-20xx-what-if-the-domain-netbios-name-is-different-than-the-fqdn-of-the-domain-with-user-profile.aspx
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Get the user group in a JSP portlet
Hi,
I'm developping a JSP portlet and i'd like to know how to get the group of the user ?
(the JSP will display URL links only if a user belongs to a specific group).
I've seen the objet ProviderUser but it doesn't have methods wich give the user groups...
Can you help me,
Thank you
FranckProviderUser or any other Java API for that matter in PDK cannot
give user's group information. One way to get the User group is
to make to make use of Portal's PL/SQL Security API Packages,
through JDBC calls.
Example PL/SQL Code:
l_boolean boolean;
l_boolean := wwsec_api.is_user_in_group
p_person_id => wwsec_api.id ('USER1'),
p_group_id => wwsec_api.group_id ('GROUP1')
Note : Replace USER1, GROUP1 with your own values.
-aMJAD -
New user creation in AE- user group not getting assigned
Hi All,
Here is a typical case, wherein when we create a new user with AE for the production system, the user gets created and the roles are also assigned but the user group is not getting assigned. The user group is being fetched from a table from the backend and all that is working fine. Infact in order to test the configurations we even created a new user in the production instance of AE giving the development system as the target system for user creation and in this case the user was successfully created and the user group is also assigned. The problem is arising only when the target system is production system.
Connectors are all working fine, but we are unable to think of a reason. Can somebody help us on this?Hi Vani,
If you are provisioning the user group using user defaults, check that production system is selected in the user defaults configured. Configuration -> user defaults. You can define any user default system, but for perticuticular user defaults that is applicable define all the systems, in which you want user defaults to be provisioned.
Kind Regards,
Srinivasan -
Users & Groups not in Get Info options
When opening a Get Info window to change Sharing & Permissions, adding a new entry to the list shows maybe 4 options when the OS has dozens of users & groups. Why are standard options like "staff" not showing up?
I need to enable a folder to be read/write by "staff" for a specific application I am using, and the new GUI isn't allowing me to do that
What app is it? Why does it require you to do this? What folder is it that you want to modify? What are you trying to achieve? More then likely there is a better way to do it, or may not be needed in the first place.
Lasso web application. In order to execute file editing commands (read txt files, write them, manipulate uploads, etc), the target file/folder must have, under the POSIX rules of 10.4, either an owner of "lasso" (a user created by the software), or the group of "staff."
In order to make the source code files themselves easy to administer on the server, I typically have always left owner as the main user I log into the system with, and set group to staff. This is the most convenient configuration for ≤ 10.4 systems.
In 10.5, after copying files to servers I'm seeing a mixture in the Get Info ACL of {user owner}, admin, and everyone in some systems, and {user owner}, staff, and everyone in other systems. Haven't tracked down why the difference (I suspect preservation of permissions somehow during the copy). Even when staff is in the ACL, it's not a part of the options the GUI presents.
Anyway, I was trying to take advantage of the ACL in allowing two otherwise separate users/groups to have some shared access, and needed "staff" as a group for these files.
I didn't just use the chgrp command as I don't yet know the consequence of using POSIX commands on what I want to be ACL controls. So, am trying to do some digging into all that now. I was just thrown by the lack of visibility of all the usual user & groups options I am used to seeing in ≤ 10.4.
Maybe you are looking for
-
Clientless SSL VPN Portal Customizaiton fails on 5510
I am trying to customize a web VPN portal on my 5510 but I get errors whenever I try to add a customization object. Running ADSM 6.1(5)51 on ASA 8.0(5). The error I get when I try to apply a newly created customization object is: [ERROR] export web
-
How do you fill in one part of a picture with the color from another part in PS CS2?
I'm making business cards from some of my artwork, and I've had to extend the width of the picture (extended canvas size on either side) to fit the size parameters. Here's the pic. It's kind of hard to see the white extended edges on the side agains
-
Multiple records from IDOC should be processed one by one Thru Web service
Hi Experts, I have a requirement where in the idoc (custom one) will collect data from R/3 system at the frequency of One hour and send them to XI and from XI i need to call the Web serice which would post only one record at a time. In this case how
-
Extract the data from SQL Server and Import into Oracle
Hi, I would like to run a daily job that will export the table data from SQL server table (it will be only one or two table) and Import back into Oracle table (it might one or two table tables). Could you please guide me that how can i do this using
-
Hi, I would like restrict users from selection systems from the drop down in "Risk Violations" Tab. In order to achieve this, I opened GRAC_OIF_RQUEST_SUBMISSION" application in Admin mode and disabled. As a result, this field is disabled. But this