How to get members in group
Hi,
How can i get the members in a group using java mail API
I have used:
InternetAddress internetAddress = new InternetAddress("[email protected]");
InternetAddress.getGroup(true);
it is not working .....
Note: XXX is the group name
whether i have to change the config property file
Can anyone help me out ..
Regards
Ganesan S
Get the "uniquemember" attribute of this entry..
Similar Messages
-
Urgent : how I get tree type group total result
hi master
sir now system give me this type for result
PARENT ACCID DRBAL CRBAL
K1
K11
11 K1101 46291132
11 K1102 13182173
11 K1103 23784045
11 K1104
11 K1105
11 K1106
11 K1107 10001795
11 K1108 9083529
11 K1109
11 K1110 4224350
11 K1111
11 K1112 6696832
11 K1113 7963381
11 K1114 742766
1 K12
12 K1201 1486082
12 K1202
12 K1203
1 K13
13 K1301
1301 K130101
1301 K130102
1301 K130103
1301 K130104 1977616
1301 K130105
1301 K130106 736266
1301 K130107 396673
1301 K130108 42751
1301 K130109 298362
1301 K130110 187696
1301 K130111 537
1301 K130112 942
1301 K130113 987
1301 K130114 1272
1301 K130115 40000
13 K1302
1302 K130201
1302 K130202
1302 K130203
1302 K130204
1302 K130205 259941
13 K1303
1303 K130301
1303 K130302
1303 K130303 177716
13 K1304
1304 K130401
1304 K130402
1304 K130403
1304 K130404
1304 K130405
1304 K130406 809719
1304 K130407
1304 K130408 1786091
13 K1305
1305 K130501
1305 K130502
13 K1306
1306 K130601
13 K1311
1311 K131101 788780
K2
2 K21
21 K2101
2101 K210101
2101 K210104
21 K2102
2102 K210201
2102 K210202
22 K2205
2205 K220501
2205 K220502
220502 K22050201
220502 K22050202
220502 K22050203
220502 K22050204
22 K2206
2206 K220601
2206 K220602
but sir i need this type of result
PARENT ACCID DRBAL CRBAL
GROUP NAME K1
GROUP NAME K11
11 K1101 46291132
11 K1102 13182173
11 K1103 23784045
11 K1104
11 K1105
11 K1106
11 K1107 10001795
11 K1108 9083529
11 K1109
11 K1110 4224350
11 K1111
11 K1112 6696832
11 K1113 7963381
11 K1114 742766
TOTAL
1 K12
TOTAL
GROUP NAME
12 K1201 1486082
12 K1202
12 K1203
TOTAL
1 K13
13 K1301
1301 K130101
1301 K130102
1301 K130103
1301 K130104 1977616
1301 K130105
1301 K130106 736266
1301 K130107 396673
1301 K130108 42751
1301 K130109 298362
1301 K130110 187696
1301 K130111 537
1301 K130112 942
1301 K130113 987
1301 K130114 1272
1301 K130115 40000
13 K1302
1302 K130201
1302 K130202
1302 K130203
1302 K130204
1302 K130205 259941
13 K1303
1303 K130301
1303 K130302
1303 K130303 177716
13 K1304
1304 K130401
1304 K130402
1304 K130403
1304 K130404
1304 K130405
1304 K130406 809719
1304 K130407
1304 K130408 1786091
13 K1305
1305 K130501
1305 K130502
13 K1306
Sir I need total group by group father group total and child group total
Please help me how I get tree type group total resultHi master
thankyou for your reply
Sir,
i know and you see my working i get code form master table and get detal amount form other table
I have two table see table
Acctab Baltab
PARENT PCID
CHILD title
PCID amount
I need heretical result use this type of query but not success
please see my query and give me idea how I get here full tree
select test.child,test.pcid,baltab.pcid from (select acctab.child,acctab.parent,acctab.pcid
from acctab
start with acctab.parent is null
connect by prior acctab.child= acctab.parent) test,baltab
where test.pcid=baltab.pcid ;
CHILD PCID PCID
1 1 1
2 2 2
3 3 3
11 111 111
12 112 112
13 113 113
21 221 221
22 222 222
23 223 223
31 331 331
32 332 332
33 333 333
but I need this type result
CHILD PCID
1 1
11 111
12 112
13 113
2 2
21 221
22 222
23 223
3 3
31 331
32 332
33 333 -
Get members by group from a forest
I have multiple domains in our forest and I'm trying to pull a list (csv) of all the members of groups with a PCSupport in the name.
I've been able to get the groups or members of the group in my specific domain but not the others.
One or the other and haven't been able to put it all together. This has gotten me the farthest along, I've got all the groups listed, but I don't know how to feed this into additional scripting to get the groups and members into a csv.
Thanks in advance for any help
$forestName = ([System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest()).Name
$ADsPath = [ADSI]"GC://$forestName"
$Search = New-Object System.DirectoryServices.DirectorySearcher($ADsPath)
$Search.Filter = "(&(objectCategory=group)(SamAccountName=*PCSupport))"
$Search.FindAll()
Path
Properties
GC://mycompany.com/CN=PCSupport,OU=Groups,DC=domain1,DC=mycompany,DC=com {samaccountname, objectsid, instancetype, objectclass...}
GC://mycompany.com/CN=Co-_PCSupport,OU=Groups-Reserved,OU=ServerWorkstations,D... {info, samaccountname, objectsid, instancetype...}
GC://mycompany.com/CN=PCSupport,OU=Groups,DC=domain2,DC=mycompany,DC=com {samaccountname, objectsid, instancetype, objectclass...}
GC://mycompany.com/CN=PCSupport,OU=Groups,DC=domain3,DC=mycompany,DC=com {samaccountname, objectsid, instancetype, objectclass...}
GC://mycompany.com/CN=PCSupport,OU=Groups,DC=domain4,DC=mycompany,DC=com {samaccountname, objectsid, instancetype, objectclass...}
GC://mycompany.com/CN=PCSupport,OU=Groups,DC=domain5,DC=mycompany,DC=com {samaccountname, objectsid, instancetype, objectclass...}
GC://mycompany.com/CN=PCSupport,OU=Groups,DC=domain6,DC=mycompany,DC=com {samaccountname, objectsid, instancetype, objectclass...}
GC://mycompany.com/CN=PCSupport,OU=Groups,DC=domain7,DC=mycompany,DC=com {samaccountname, objectsid, instancetype, objectclass...}
GC://mycompany.com/CN=PCSupport,OU=Groups,DC=domain8,DC=mycompany,DC=com {samaccountname, objectsid, instancetype, objectclass...}
GC://mycompany.com/CN=PCSupport,OU=Groups,DC=domain9,DC=mycompany,DC=com {samaccountname, objectsid, instancetype, objectclass...}
GC://mycompany.com/CN=PCSupport,OU=Groups,DC=domain10,DC=mycompany,DC=com {samaccountname, objectsid, instancetype, objectclass...}
GC://mycompany.com/CN=PCSupport,OU=Groups,DC=domain11,DC=mycompany,DC=com {proxiedobjectname, samaccountname, objectsid, instancetype...}
TomHi Tom,
For example I use this expression to get members from a group and works fine for the CSV.
Import-Module ActiveDirectory
Get-ADGroupMember -identity "<group>" | select name | Export-csv -path C:\output\members.csv -NoTypeInformation
I think the | Export-csv -path is what you are looking for -
How to get the sorted Groups in Adminstration Portal
after adding a Child Group to the parent Group the Child Groups are not sorted.So
how to get the sorted list when any child group is added to a parent group.In
which class we have to make the changes to get the sorted group.Hi Manorama,
1) If you have already created a portal system as mentioned in following blog
/people/marcel.salein/blog/2007/03/14/how-to-create-a-portal-system-for-using-it-in-visual-composer
2) If not, then try to create the same. Do not forgot to give the Alias name .
3) After creating a system, log on to the VC, Create one iView.
4) Now Click on "Find Data" button from the list which you can view in right side to Visual composer screen.
5) After clicking on "Find Data" button, it will ask for System. If you have created your system correctly and Alias name is given properly, then your mentioned Alias name is appeared in that list.
6) Select your system Alias name and perform search.
7) It will display all the BAPIs and RFCs in your systems.
8) Select required BAPI and develop the VC application.
Please let me know if you any further problems.
Thanks,
Prashant
Do reward points for useful answers. -
How to get BU, Company, Group details with the help of Employee number
Hi Friends,
How to get information related with Employee like Business unit, Company, Business Group and other details.
PravinYes Arul.
I want to get these information in a custom Java webdynpro application but if you can guide me how to get these values in SAP-Hr. Can you just give me details of tables. I have Employee number(pernr) with me and want to fetch Group, Company, Business Unit.
With rgds,
Pravin -
How to get count of group of current login user if AD Group is added in SharePoint Group?
My Client has 2 SharePoint Application. For the AD Users they have created AD Group and added users in that AD Group as per requirement. Later AD Group is added in SharePoint Group. When I'm trying to fetch Current User Group count, I can able to get the
count of Groups using below statement.
int groupCount = SPContext.Current.Web.CurrentUser.Groups.Count;
Above Statement, returns always 0 value if I tried with User who are added in AD Group and if I add AD User and then it will return the exact count.
Please suggest solution to get Count of Group of Current User. My Application contains more than 60 SharePoint group.Hello,
I believe your code doesn't count those AD group users until they login at least once. If this is the case then try to use "SPUtility.GetPrincipalsInGroup" as suggested in below post:
http://stackoverflow.com/questions/4314767/getting-members-of-an-ad-domain-group-using-sharepoint-api
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
How to get cost center group from cost center
Hello
I have cost center and i need to get the cost center group.
Anyone having an idea how to get it???
Thanks
ParvezHi,
Cost centre could be assigned to different cost centre groups. For standard hierarchy, you can retrieve it from CSKS table, but for other groups SETLEAF table (class 0101) will provide you a complete answer.
Regards,
Eli -
How to get profit center group and its description
According to three tables(as below), i get profit center group, how to get its description?
CEPC (Profit Center Master Data Table)
SETLEAF
SETNODE
PS:(Referrence to teh link fields in table)
For Profit centre Group ( SETLEAF-SETNAME )
Select BSEG-BUKRS / BSEG-PRCTR from BSEG.
SELECT SINGLE SETNAME INTO WA_SETNAME
FROM SETLEAF
WHERE SETCALSS = '0106'
AND SUBCLASS = BSEG-BUKRS
AND VALFROM = BSEG-PRCTR
i can get two records, why?Hi,
I am not sure of the significance of this table...
But looking at the table structure it is having LINEID as one of the key fields..
So you can have more than one record for the same combination..
Thanks,
Naren -
How to get list of groups and the users from OID
Hi,
Can someone please tell me how to get the list of GROUPS and all the USERS in each group in OID using Java. Need to recursively get all the Groups and Users in each group using Java any samples.
Thanksuse examples from OTN like
http://www.oracle.com/technology/sample_code/products/jdev/readmes/samples/ldapdatacontrol/ldapapplication/src/dc/ldap/model/LDAPSearch.java
and modify it to your needs
Bernhard -
How to get the screen groups for the screen field which are on selectionscn
hiiii Experts,
How to know the screen groups for the screen field which are on selection screen.
Thanks and regards,
kasyapNAME PNPABKRS-LOW
GROUP1 SEL
GROUP2 DBS
GROUP3 LOW
GROUP4 180
to get this use this:
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
if screen-name CS 'ABKRS'.
BREAK-POINT.
endif.
ENDLOOP. -
How to get Current User Group NAME
I am using the com.sun.security.auth.module.NTSystem to obtain information on the current user logged into the NT System. This class gives me the user name, all the group SIDs associated with the current user and also the current user's primary group SID.
But I am not able to retrieve the group Name based on these SIDs.
Please tell me how to find out the Group Name such as "Workgroup" etc. instead of Group SID.
This is very urgent. So please help me.
Thanks in advance!!!I'm having the same problem.
If you found a solution could you post it here.
Thanks. -
This is REALLY getting me frustrated! What is "Hibernate this Group"? Why can't I find any information on it? Why can't I get groups back that have been accidentally "hibernated"? There is a "moon" symbol on my upper right screen that says "Hibernate this Group" and I don't know what it does or how it works! AND I accidentally "hibernated" a group when I clicked on it too long and a bunch of "zzz's" showed up and then it was GONE! How do I get it all back? And why isn't there a tech center I can contact to help with this???
This sounds like some third-party app or extension, because this functionality is not in Firefox by default. [[Reset Firefox – easily fix most problems]] should remove it
-
Exporting to dwg - how to get blocks from groups?
Hi,
is there a way that Illustrator generates AutoCAD blocks from Illustrator groups when exporting to dwg?
Or, is there any other way to generate blocks directly while exporting?
Hope this is clear.
thanks for your support!It didn't work for me. AutoCAD "blocks" are like symbols - they are oftentimes called "symbols" in other CAD programs. Blocks are internal to an AutoCAD DWG file. AutoCAD also has external "blocks" called external references.
I tried exporting symbols from AI to DWG, and also tried exporting a file with multiple instances of a placed AI file. I get the same results. AI created multiple blocks with different names.
The only workaround in AutoCAD would be to "explode" the AutoCAD DWG in AutoCAD and put that on another layer. Then, reinsert the blocks where they need to be, then turn off the exploded layer. Not a very elegant workaround, but it depends on how many blocks you have. -
How to get previostaskapprover in group vote???
I need know the previus task approvers in gruop vote, getPreviusTaskApprover dont return nothing...
Thanks..You have to get the ID from the Administrators group:
SELECT SI_ID FROM CI_SYSTEMOBJECTS where SI_PROGID='CrystalEnterprise.UserGroup' and SI_NAME='Administrators'
the ID for that group is IS_ID='2'
and later, the user ids from that group: (SI_GROUP_MEMBERS)
SELECT SI_GROUP_MEMBERS FROM CI_SYSTEMOBJECTS where SI_PROGID='CrystalEnterprise.UserGroup' and si_id='2'
or in just one select:
SELECT SI_GROUP_MEMBERS FROM CI_SYSTEMOBJECTS
WHERE SI_PROGID = 'CrystalEnterprise.UserGroup' AND SI_NAME = 'Administrators' -
How to get Exchange Distribution Groups in Mail on iPad / iPad 2
Hello...
Maybe I'm missing something, but for some reason, the distribution groups I create for myself in Exchange 2010 ( personal mailbox ) are NOT showing in Mail on my iPad. Is there something that I need to do in order for them to sync?
I appreciate any help someone can give!just start started using Exchange Online and also discovered this. Shared mailboxes and distribution group doesn't work on iOS devices and also OSX Mail.App, unfortunatly.
Maybe you are looking for
-
Adobe Edge .OAM Animation Not Working In ePub Created In InDesign CC
Hello, I am trying to create an ePub that contains video and animations. Using Adobe Edge Animation CC, I created an animated chart. When I tested by previewing it in my browser it worked fine. I then exported the animation as an .OAM file. In InDe
-
Best way to extend Airport Extreme signal
Like most folks, I had no idea what a poor choice it was to let my internet service providor install my DSL connection in the far corner of my home. So until I install a phone or cable jack in the middle of my place, half my signal is wasted in the b
-
How do I get my reminders to move to the completed list?
I can create reminders, but they do not show up in the completed list after the time that they remind me. Do I have to do something special to them?
-
Hi, We are shuduled the online backup in DB13.But it failed yesterday for the following reason. Please help me what is the problem. Backup_Dev: SQL Message: SQL0902C A system error (reason code = "119") occurre Backup_Dev: d. Subsequent SQL stateme
-
Is there a charge for downloading and installing add-ons?
In reference to cloud viewer.