How can I get the number of computers that a specific user had add to domain?
Greetings
In Win Srv 2K8 I know how to increase\decrease the total number of computers that any user can add to domain.
(http://support.microsoft.com/kb/243327/en-us)
but there is any way to get the number of computer accounts that a user had add?
thank you in advance
Hi,
Regarding your request, maybe we could use the 'ms-DS-CreatorSID' attribute to verify the computer number that a specific has joined to the domain. Please understand that for a
computer account created by domain users, the account has 'ms-DS-CreatorSID' attribute to indicate the creator user. When a user adds a computer to the domain, a process enumerates the 'ms-DS-CreatorSID' attribute on every computer account in the domain and
calculates if the sum exceeds the current quota for that user.
The 'ms-DS-CreatorSID' and 'ms-DS-MachineAccountQuota' with default value 10 are also available in Windows Server 2008 AD DS.
Note: The 'ms-DS-CreatorSID' attribute will be unset in the computer account that is pre-created in Active Directory Users and Computers MMC or joined by domain administrators.
Auditing on the computers container should work for collecting information of joining computer into the domain.
For details, please refer to the following similar thread.
How to find computers joined by an user (ms-ds-creatorsid) using powershell
http://social.technet.microsoft.com/Forums/windowsserver/en-US/68db87d8-0890-4d23-af9f-4693ccc1074d/how-to-find-computers-joined-by-an-user-msdscreatorsid-using-powershell?forum=winserverpowershell
Regards,
Andy Qi
Andy Qi
TechNet Community Support
Similar Messages
-
How can I get the number of missed messages to pop up on my message icon like the would if i missed a call
Hi,
Go to Settings>Notifications Center>Messages, and make sure the Badge App Icon is turned ON.
Cheers,
GB -
How can i limit the number of taps that open in safari
How can i limit the number of tabs that open in safari
preferences-->tabs
change new pages to never open in new tabs.
Now you only get the number of tabs that you open yourself with command-T or the new tab button. -
How can i get the list of all tcode used by user of particular module
Hi,
How can i get the list of all tcode used by user of particular module (e.g FI , MM ,PP) within year .
Regards
VikramLogin to your SAP System
Run TCode SE16
Type Table Name : TSTCT
Press F7 Key (Table Contents )
Go to Settings in menu bar
Select User Parameters
Under Keyword select Field Label and press green check mark
Select your criteria in Data Browser and execute
You will see all t codes in there
Regards,
Yogesh -
How can I get the blue dot back that id's mail as unread?
How can I get the blue dot back that id's unread mail?
Yes We have an iMac with the same account. They have both worked fine for the year that we have owned an iPad. I think I have solved the problem. I went into mail settings and turned off push. Then I reset the iPad. Upon reopening, I turned push on again. At least for the last 15 minutes, I have a blue dot bt new mail. Many thanks for taking the time to help me, Matthew.
-
How can I get the number request's (count) for One interface
Hi Guru's,
I have a requirement,One interface say Hello world._How can I get the number request's (count) for this interface_.I thing with BAM it's possible.
But I have no idea about BAM.If is there any alternative please give directions and instruction how to achieve this task.
Can any body help.Thanks in advance.
Regards
ManiYou have to query the SOA_INFRA schema to get the answer.
Build a select query in cube_instance table.
Thanks,
Vijay -
How can I get the number of rows in my sql result, without a loop?
Hello,
I've a problem, I would like to get the number of rows in my sql result without make a loop like :
while (rs.next()){
int number = rs.getRow();
Is there any method to do this, on the first element?
Thx, STeFIf you want to count how many rows are in result set, I dont think you can, but you could always run a count statement for that sql
say your sql is
select field1, field2, field3
from table1, table2
where field4=field5 ......
then you can count the rows this statement returns by
select count(*) from
(say your sql is
select field1, field2, field3
from table1, table2
where field4=field5 ......)
This way you will get the count for just that sql -
The number pad on by Mac USB keyboard does not work (no input). I have updated the Mac keyboard drivers and that did fix the problem. How can I get this keyboard to work when connected to my Powerbook?
Do you have "Mouse Keys turned on in System Preferences / Universal Access ?
Mouse Keys Turn on to use the keyboard instead of the mouse to control your computer -
Urgent******how can i get the number of rows enterd by the user in a table
Hi Frndz..
As per my requirement i need to do the validations for the multipple rows in a table that was enterd by the user,
T
The prob is how can i get that number of rows that enterd by user,
WDMessageManager msg = wdComponentAPI.getMessageManager();
String col1= "";
String col2= "";
double col3= 0;
double col4= 0;
double amount= 0;
int nodesize = wdContext.nodeTest().size();
try
for(int i=0; i<=2 ; i++)
col1 = wdContext.nodeTest().getTestElementAt(i).getCol1();
//msg.reportSuccess("col1 size is :"+col1);
col2 = wdContext.nodeTest().getTestElementAt(i).getCol2();
col3 = wdContext.nodeTest().getTestElementAt(i).getCol3();
col4 = wdContext.nodeTest().getTestElementAt(i).getCol4();
amount = wdContext.nodeTest().getTestElementAt(i).getAmount();
if(col1 == "" )
msg.reportException("Plz fil the col1 for line:",true);
break;
else
if(col2 == "" )
msg.reportException("Plz fil the col2 for line:",true);
break;
else
if(col3 <= 0)
msg.reportException("Plz fil the col3:",true);
break;
else
if(col4 <= 0)
msg.reportException("Plz fil the col4:",true);
break;
msg.reportSuccess("skvgjhdfgasdfgsjkafguisafisenvtvyeriy");
wdThis.test();
catch (Exception e)
msg.reportException("strMessage in catch block",true);
this is the code am going
Regards
RajeshHi,
You can try this:
* Let's say the table's datasource is a node called Table and it has two attributes first & second.
* You want to check if any of these attributes has been changed by the user or not. If they have been
* changed then you want to do some validations against them.
int sizeOfTable = wdContext.nodeTable().size();
for(int i = 0; i < sizeOfTable; i++){
IPrivate<view name>.ITableElement ele = wdContext.nodeTable().getTableElementAt(i);
if(ele.isChangedByClient(ITableElement.<attribute name>)){
//value has been changed, do some validation. You can get the row index using ele.index().
Regards,
Satyajit. -
How can i set the number of results that can be displayed on the page
hello im just wondering how i can set the numebr of results that can be dispaleyd on the jsp, when the there are more than 5 results i want the suer to press more
how is this odne could anyone send me a example code?
and also how can i get results from the query displayed as select list options, so that when they press one of teh results it goes to correspnding page
Thank youHi,
I assume that you have the connection to the DB.
You can try this code.
Statement stmt = con.createStatement();
String sql = "<some sql code for selecting>";
ResultSet rs = stmt.executeQuery(sql);
rs.last();
int count = rs.getRow(); // this is the number that shows how many numbers you have after select query
rs.first(); //we moved cursor again to the begining of the results.
if (count > 5) {
for (int i=0;i<5;i++) {
//as an example
rs.getString(0);
rs.getString(1);
rs.getString(2);
out.print("<a href='morePage.jsp'>More</a>");
else {
for (int i=0;i<count;i++){
//as an example
rs.getString(0);
rs.getString(1);
rs.getString(2);
rs.close();
stmt.close();I hope this would help you.
If you have problems let me know..
Ismail TURK -
How can I get the number of distinct records that each field of a DB table has?
Hi everyone,
I would like to know how to get he number of distinct records that each field of a DB table has. When tracing a SQL statement either in ST12 or ST05, in the plan execution, if the sentence made useage of an index, then I can click in the index name and see this kind of information (no. of distinct values for each field of that index).
Can I do something like this but with the whole fields of a table?
What I have found until now is in Tx ST10; I search for whatever kind of table statistics and then use the function of "Analyze table" (which takes me to Tx DB05). In here, I can enter a table and up to 5 fields in order to get the information that I want.
Is there any other way to do this?
Regards,
David RezaHi David,
You can export the same to excel and sort as per requirement.
Sorry is that what you are looking for ?
Regards,
Deepanshu Sharma -
How can I get the number of pages of a report?
Hello to everyone, I'm writing a small app that exports a report to PDF (the app is done and everything is ok).
Along with the PDF I need to create an XML file that describes the PDF file properties. One of the properties I need to supply is the number of pages of the PDF file. How can I ask Crystal Reports SDK for the number of pages my ReportDocument is made of?
Best regards
AlessandroHello Alessandro,
I found a Business Objects Note with a possible solution. You can search for Notes yourself by starting at the Business Objects area of this SAP Community Network (SCN) site.
Go to the [Business Objects link|https://www.sdn.sap.com/irj/boc] in the menu bar on SCN.
Then go to the [Support link|https://www.sdn.sap.com/irj/boc/businessobjects-support] in the sub menu for Business Objects.
Now go to the [Business Objects Note link|https://www.sdn.sap.com/irj/boc/businessobjects-notes] in the left side navigation menu.
Finally, click on the [Search Business Objects Notes link|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true] in the middle of the page.
From the Notes Search page click on the Advanced Search link. For your question I searched on these terms - net page number - and added "boj" (without the quotes) in the Component field for Advanced Search. The "boj" component helps limit the search to Business Objects components - like the Crystal Reports .NET SDK.
This search brought up a number of results. The second result looks like it will address your question:
"[SAP Note 1216240|https://bcp.wdf.sap.corp/sap/sapnotes/display/0001216240] - How to retrieve the number of pages from a ReportDocument in VS .NET"
I hope this helps!
Sincerely,
Dan Kelleher -
How can I get the number of lines in a string?
I have a lone string with multiples lines (return). How can I find out how many lines in the string?
For the counting of no.of lines, try the Line Counter here http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000BB700000&USEARCHCONTEXT_CATEGORY_0=_49_%24_6_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
As for extracting data without having worry over the description, you may wanna try using "Configuration File VI" in LabVIEW's File I/O function palletes.
Regards
ian.f
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010
依恩与LabVIEW
LVVILIB.blogspot.com -
How can I get the number of chars in a String, without countig the Spaces?
When I do String.length(), he returns the length with Spaces, but I want the number of chars and numbers.
thxI'm afraid you'll need to write a method of your own for that. It's very simple fortunately:public static int getLengthWithoutWhitespace(String s) {
java.util.StringTokenizer st = new java.util.StringTokenizer(s, " \t\r\n");
int counter = 0;
while (st.hasMoreTokens()) counter += st.nextToken().length();
return counter;
}This code is not tested... Here's another, a bit more reliable approach that simply passes through the characters of the string:public static int getLengthWithoutWhitespace2(String s) {
int counter=0;
for (int i=0; i < s.length(); i++)
if (Character.isWhitespace(s.charAt(i))) counter++;
return counter;
} -
How can I set the number of day that FF remembers a visited site?
Using FF 8, a visited site link turns color to show it has been visited. I would like to have that color go back to normal after 14 days. In other words, I want FF to remember that I visited a site by turning the link a different color for only 14 days. Right now it seems to last forever. The link never changes back to normal, so I can't easily tell when I was last on the site.
I do use sync.
I looked through the about:config, but don't seem to be able to find a pref that will do this.You can do it manually if you like with code in the Error Console.
Copy and paste the code in the Code field in the Error Console and click the Evaluate button.
*Firefox/Tools > Web Development > Error Console (Shift+CtrL+J)
See http://kb.mozillazine.org/User:Dickvl/JavaScript_Error_Console#Expire_History_By_Days
Maybe you are looking for
-
Identifying which clips are used in browser
I am learning FCP for the first time but I am extremely familiar with editing video on a PC. My version of FCP is 6.0.6. I really want a way to see in the browser which clips I have used in a sequence. I know I could manually mark each take by using
-
Good Morning, I have a MacBook Pro 15" and my warranty just ran out! I partitioned my harddrive into two partitions, one with Snow Leopard and the other with microsoft.This morning I turned on my Macbook Pro and it will not boot into Snow Leopard. I
-
Installation Issues for X-Fi Titanium HELP ME!!!
I've recently had to reinstall windows xp on my dell as there was an unrepairable error with the xp operating system that could only be fixed by a fresh install and cleaning the entire hard dri've. I installed windows without a problem and all the on
-
Imovie lost music program will not open
I was making a movie and when I went to add music from the tool bar on the right side i could not open the application under the little note I tried to find the application on the hard drive could not. I had this computer from 2 year and never had a
-
How do create a multi select that is one directional in a jsp page
i am trying to create a one directional multi select in jsp that is when select the option from the multi- select the first time is not appear again that is for instance if i have a status option of NEW Fix Closed they should come from the database f