Retrieve all users which is currently participate in a workflow
Hi,
In a workflow, is there any service operation that can retrieve all the user ID or name that is currently participating in a workflow?
Thanks.
Hi Jasmine,
thank you for reply, I have a look at the APIs but have not tried it out yet. It seems that it is used to retrive all user that have participate in the workflow, including those that have finished with their task and those currently working on their task.
Can the API differentiate user that have finshed with task and those that is currently still processing task?
I need to know those that is still processing task, as another process need to send email to those users.
Thanks.
Similar Messages
-
Retrieve all user id's from LDAP directory and populate in Oracle table.
Guys,
We've implemented LDAP authentication functionality in our application using Oracle's dbms_ldap package objects.
Now,Is there any way that I can retrieve all user ids from the LDAP directory and store in an Oracle table?
The distinguished name of authorized user as it appears in our LDAP directory is below:
dn=uid=ab0472,ou=people,ou=xyz,o=world.
Now I need to fetch all users uid's from the LDAP directory and populate in an Oracle table.Can somone help me with thoughts.
Thanks,
BhagatHave a look at attachments API, since this also does the same thing except that it puts the file in fnd_lobs instead of the custom table.
Thanks
Tapash -
Retrieve all users with attributes from AD
hi,
i'd like to retrieve all users with their attributes from AD. I can connect to AD and i 'm able to retrieve entries from a group with the member class given in this forum.
But my problem is i would like to retrieve users directly from the Users container
thanx for helpi solved one part of my problem.
But, now i have to get all attributes for each users and i couldn't find them. The getattributes method doesn't return anything (i 'd like to retrieve the first name, last name, adress ...)
thanx for help -
Index to retrieve all instances which have a certain node
Hello!
I work with the oracle 10g xml db and I have got the table of the xmltype
<xsd:complexType name="headerType" xdb:SQLType="HEADER_T">
<xsd:sequence>
<xsd:element name="time" type="xsd:dateTime"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="contentType" xdb:SQLType="CONTENT_T">
<xsd:choice>
<xsd:element name="assignment" type="assignment:AppsXx_Assignment_V"
xdb:SQLName="ASSIGNMENT" minOccurs="1"/>
<xsd:element name="organization"
type="organization:AppsXx_Organization_V"
xdb:SQLName="ORGANIZATION"/>
<xsd:element name="qualifications"
type="qualifications:AppsXx_Qualifications_V"
xdb:SQLName="QUALIFICATIONS"/>
</xsd:choice>
</xsd:complexType>
<xsd:element name="root" type="oebs:rootType" xdb:defaultTable="OEBS"/>
And I need to retrieve all instances which have "assignment'" node
SELECT * FROM oebs
where existsNode(OBJECT_VALUE,'/oebs:root/content/assignment', 'xmlns:oebs="http://www.r.ru/oebs')> 0;
Which index could help me?
ThanksUse below to export to CSV, then filter the file in excel and remove all except animal
dd-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue -WarningAction SilentlyContinue | Out-Null
$url = "<site url>"
$listName = "<list name>"
$path ="c:\Columns.csv"
$web = Get-SPWeb $url
$list = $web.Lists.TryGetList($listName)
$list.ContentTypes | % { $_.FieldLinks } | select Name | Export-Csv -path $path
Can also try
http://social.technet.microsoft.com/wiki/contents/articles/18830.sharepoint-2010-import-data-from-excel-into-a-list-using-powershell.aspx -
How to retrieve all users in the portal with UME API
Hi everybody,
I would like to know how to retrieve all the users from a portal, which uses LDAP as a source (there are users created in the portal as well)
My code snippet is :
IUserFactory userFactory = UMFactory.getUserFactory();
UserSearchFilter searchFilter = userFactory.getUserSearchFilter();
searchFilter.setDisplayName("*", ISearchAttribute.LIKE_OPERATOR, false);
ISearchResult searchResult = userFactory.searchUsers(searchFilter);
My problem is that with the code above, only the users created in the portal are displayed, and no LDAP users.
Does someone know how to retrieve all the users whatever is the source?
Regards
Renaudprakash's code should work.
however, mine code below doesn't user a search filter. it retrieves everyuser including users like indexadmin etc. Note:
result.next().toString();
returns a weird uniqueID used in the portal world.
getUniqueName()
gives your the usernames (sAMAccountName in Microsoft AD) people use to logon to the portal.
try {
IUserFactory uf = UMFactory.getUserFactory();
ISearchResult result = uf.getUniqueIDs();
while (result.hasNext()) {
String uniqueid = result.next().toString();
IUser user = uf.getUser(uniqueid);
String userid = user.getUniqueName();
} catch(Exception e) {
//systemout -
SharePoint: Workflow to retrieve all users and Create list item record for each user
Hi all,
My share point site have two Lists as Holidays and MyCalender.
Actually Holiday is simple non-Calender list with field as Holiday Date, Reason. MyCalender List Calender type list with Person Look-up column and user can see his own record. User of Manager group will declare holiday. This Holiday should get reflected
on each user 's MyCalender List.[One listitem as holiday date and reason for each user] so everyone can view that record.
I have requirement as Manager will create one Holiday record and then run single workflow so for all users present in SharePoint Site, one MyCalender List Item record should get created. Is it possible to do using Workflow?? Please help as I didn't get any
solution for this.. Thanks in advance!You don't need one workflow per user when a filtered view can do this for you. If the manager's list is the parent calendar, I'm assuming that he'll be at least using the person look-up column.
Whether this feeds through the MyCalendar or stays where it is, you can use the [Me] parameter within the filter on a new view. This will then return the assigned holiday filtering against the account that is logged in.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Retrieving all users and last successful login
Hi. I"m trying to return a list of all users and thier last successful login to a particular database. Oracle version is 10.2.0.4 on RHEL 5.3. I am attempting to join to the sys.aud$ table or use the audit_trail views but I didn't know if there was something more obvious to do. We don't have Audit vault yet nor do we have actual logon triggers that write to an audit table - just have auditing turned on. audit_trail=db_extended.
I appreciate any help in advance.Thanks....I have that on. I am now trying to get this information out of the sys.aud$ table to a report in a format similar to
username, last successful logon
by joining the all_users and sys.aud$ tables to get the max timestamp for action 100
where user is in a list of users from all_users.
This is taking a long time to return any information.
I am wondering if there are other ways to get this information out of the database in a quicker fashion. -
How to retrieve all users in a specific group
Hi,
I am using SunOne directory server. Can someone please post a sample code that illustrates how to fetch all the list of users in a particular group.
1) Let's say I want to find all the users in a group called "marketing". The root context is dc=mycompany,dc=com This group can be anywhere below this root context. Only information I am told is the name of the group - "marketing". How will I get all the users in this group?
2) For each user that is retrieved from the group marketing, how will I find out the user's DN?
Thanks for the help,
- SatishDo it like this...
String searchBase = "ou=marketing";
StringBuffer filter = new StringBuffer();
filter.append("(|");
if (organizationName != null && !organizationName.trim().equals("")) {
filter.append("(");
filter.append(ou);
filter.append("=");
filter.append("marketing");
filter.append(")");
SearchControls constraints = new SearchControls();
constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
constraints.setCountLimit(200); // How many users should be found
constraints.setTimeLimit(100000); // how much time should this search wait
// Get a initial context and set it to the ctx object
ctx.search(searchBase, filter.toString(), constraints); -
Need help retrieving all messages which suddenly disappeared from my inbox
my computer didn't crash, but suddenly all the messages in my inbox were gone for no reason?! They were very important,and I need to know how to retrieve them.
Firefox doesn't do email, it's strictly a web browser.
If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
If your problem is with Mozilla Thunderbird, see this forum for support.
[http://www.mozillamessaging.com/en-US/support/] <br />
or this one <br />
[http://forums.mozillazine.org/viewforum.php?f=39] -
Retrieval of all users in Exchange online
Exchange Version: Exchange Online at Office 365
API Name: EWS API 2.0
IDE: Visual basic C# 2010
Targeted features: Impersonation and retrieval of all users
Hi there, I am currently developing a program that uses impersonation and queries the EWS API to retrieve emails and their attachments from users. I have used the C# codes from the MSDN Library to develop the program. The program is successful in retrieving
the emails from specific users that are hard coded into the program.
The code below shows the process of authenticating the admin user and the impersonation is done in the RetrieveEmailFromUser() function.
ServicePointManager.ServerCertificateValidationCallback = CertificateValidationCallBack;
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013_SP1);
service.Credentials = new NetworkCredential("adminemail@", "password", "domain.onmicrosoft.com");
service.AutodiscoverUrl("adminemail", RedirectionUrlValidationCallback);
List<string> emailaddrlist = new List<string>();
emailaddrlist.Add("[email protected]");
emailaddrlist.Add("[email protected]");
foreach (string item in emailaddrlist)
string content = RetrieveEmailFromUser(service, item);
Console.WriteLine(content);
static string RetrieveEmailFromUser(ExchangeService service, string emailAddr)
service.ImpersonatedUserId = new ImpersonatedUserId(ConnectingIdType.SmtpAddress, emailAddr);
FindItemsResults<Item> findResults = service.FindItems(WellKnownFolderName.Inbox, new ItemView(50));
As can be seen from the coding, the users that are to be impersonated have been hardcoded. I would like to know if there are any C# codes or a link to a page where it describes how I can retrieve ALL users with mailboxes from a Microsoft 365 admin account
without needing to manually add users for retrieval.Hi there sorry for asking again but I have successfully retrieved all the users but now I would need to filter them to lower the amount of addresses retrieved.
For example
owershell.Runspace = runspace;
//Create the command and add the parameters to retrieve all users that have mailboxes
powershell.AddCommand("Get-Mailbox");
powershell.AddParameter("RecipientTypeDetails", "UserMailbox");
//Invoke the command and store the results in a PSObject collection
Collection<PSObject> EmailList = powershell.Invoke();
//Iterate through the results and add the PrimarySMTP address for each mailbox to emailAddrlist
foreach (PSObject emailAddr in EmailList)
string time = emailAddr.Properties["WhenCreated"].Value.ToString();
string addr = emailAddr.Properties["PrimarySmtpAddress"].Value.ToString();
EmailAddrList.Add(addr + time);
The property ("WhenChanged") will retrieve the date time when the mailbox had its options MODIFIED but not when an email is received. Is there a parameter I can input using powershell to retrieve users who have new emails in their mailboxes from
a specific? Or can I change the value of the Property from ("WhenChanged") to something else that will give me a date time of the most recent addition of an email to the mailbox. This will then allow me to compare the date time to filter out
addresses which have not received any emails.
Thank you. -
Javascript: Query all users with read permission to specific list
Is it possible to use javascript to retrieve all users with read permissions to specific list? This (http://www.c-sharpcorner.com/UploadFile/anavijai/how-to-get-all-the-users-from-site-group-in-sharepoint-2013/) shows how to get users from group but what
about list. All users in list may not exist in spgoups.Hi,
If with Server Object Model which is executed in server side, in the
SPList object, there is a
RoleAssignments property can help to get what you want without looping through all the users in site:
public static void getPermissionsOfList()
using (SPSite site = new SPSite("http://sp"))
using (SPWeb web = site.RootWeb)
SPList list = web.GetList("/Lists/List1");
SPRoleAssignmentCollection roles = list.RoleAssignments;
foreach (SPRoleAssignment role in roles)
Console.WriteLine("~");
Console.WriteLine("Name: " + role.Member.Name);
SPRoleDefinitionBindingCollection bindings = role.RoleDefinitionBindings;
XmlDocument doc = new XmlDocument();
doc.LoadXml(bindings.Xml);
//Console.WriteLine(doc.InnerXml);
XmlNodeList itemList = doc.DocumentElement.SelectNodes("Role");
foreach (XmlNode currNode in itemList)
string s = currNode.Attributes["Name"].Value.ToString();
Console.WriteLine("Permission Level: " + s);
However, when comes to JavaScript Client Object Model, as there is no such property provided, I suggest you take the solution provided in my previous post for a try.
Thanks
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How do i use an active directory group for vpn and not all user
hi all,
i have an asa 5515x...
how do i use a particular group in active directory to have vpn/anyconnect access? right now i believe it's for all user on my current config,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!integrate with active directory
aaa-server LDAPSERVERS protocol ldap
aaa-server LDAPSERVERS (vlan192) host 10.0.0.2
ldap-base-dn dc=company,dc=com
ldap-scope subtree
ldap-naming-attribute sAMAccountName
ldap-login-password 12345678
ldap-login-dn cn=administrator,cn=Users,dc=company,dc=com
server-type auto-detect
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
say i want this "vpn-group" object group in AD and my vpn is only anyconnect and no other vpn types.
thanks for any comment you may add.The best way is to use Dynamic Access Policies (DAP). Cisco has a white paper (here) that shows how one can choose the LDAP group as one of the DAP criteria.
DAP requires the Advanced Endpoint Assessment feature, so your licensing must support that. -
Hi all,
I'd like to ask you for help with my Portal application.
I need to retrieve all users in Portal.
Now I'm using searchUsers method of UserFactory object. It returns to me all users, but it is very time-consuming operation for cca. 3500 users in result.
There is another method how to get users
UserFactory.getUniqueIDs()
, but list of users is not complete (SIZE_LIMIT_EXCEEDED).
Can anybody please advise me how to get all users in Portal (some standard way)? And faster?
Many thanks for help,
PavelHi,
Refer to,
How to retrieve all users in the portal with UME API
May be helpful.
Regards
Srinivasan T -
Hi All,
I am looking at an Technical solution for Restricting the direct access some specific tables in my data base to all the users(Except admins and few Service accounts). However views created on top of these tables would be exposed to all Users.
Could any one help me with the best solution.
Thanks in advance,
Regards,
Raja SuriHello,
You can try to create a new role "Client_User" in the database and deny access to the new role on the specify tables. And then add all user which you want to restricting the direct access the specific tables to the database role.
For example:
Use Database
CREATE ROLE [Client_User] AUTHORIZATION db_securityadmin;
DENY SELECT ON OBJECT::schema.table TO [Client_User] ;
EXEC sp_addrolemember 'Client_User', 'username';
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
How can I deploy a standardized set of CS6 extensions to all users?
Is there a single file or set of files I can distribute to all users which will give them a standardized set of CS6 extensions? I have over 100 users using InCopy CS6 and InDesign CS6 and want to make sure they all have the same extension configuration.
Perhaps I should have explained myself more clearly. I want to be able to define an extension set (with a mix of Adobe and 3rd party extensions) and distribute that set to all of my users - without them having to take any steps to import the set, make it active, etc. I'd like to be able to just have them log in and have the extension set I have distributed to them. I've tried exporting a set, distributing it to a test workstation, then importing it via a script (as defined in "Adobe Extension Manager help and tutorials") but the import step doesn't seem to work. No error, it just doesn't import the set.
So I was wondering - can I package up my extension manager files ("/Users/<username>/Library/Application Support/Adobe/Extension Manager CS6" and "/Users/<username>/Library/Preferences/Adobe.ExMan") and deploy those to users?
I am looking for a solution that will allow me to deliver the extension set I define to over 100 users without user interaction. Is there a way?
Bob Reed
AARP
Maybe you are looking for
-
I can't install or uninstall iTunes on my laptop. I've followed all the steps on Apple Support as well as Microsoft support. I get the error "The feature you are trying to use is on a network resource that is unavailable. Pick an alternate path to
-
Can you transfer picture files from an older version of aperture to aperture 3?
Can you transfer picture files from an older version of aperture to aperture 3?
-
My files no longer sort properly - files beginning with AEIOU come before
My files no longer sort properly - files beginning with AEIOU come first after numbers and special characters, then letters H, K, M-N, P, W, B-D and so on. I click on the column header again and it reverses the sort, but still messed up. This convolu
-
Trouble playing/syncing H264 videos to Apple TV
I have hundreds of videoclips exported to H264 from Final Cut. I´ve just got an ATV and I cannot sync the H264 files to the ATV. Do I have to export all my files to H264 ATV standard (preset)?
-
hi how can set my firefox screen resolution ( i know zom in and zom out but when i restart my firefox , it chanaged to perviose level of zoom )