Try to find the table of Directors of a group of fabric (EnterpriseAdminGroups)
Hello
I'm not having much luck finding a way to determine the list of users in the "fabric administrators' shown in VRA (VCAC) using a script in VCO. Does anyone have any idea on how I can do to get the table of users?
I was able to do with groups of companies:
var groups = vCACCAFEEntitiesFinder.getBusinessGroups (vCACHost);
for {(i in groups)
System.Debug ("groups [" + i + "] =" + groups [i]);
var = Admins groups [i] .administrators;
}
I'm so looking for something similar, but related to EnterpriseAdminGroups, which does not have the property of "Administrators".
So far I only have this code, which is not having me administrators:
entities var = vCACEntityManager.readModelEntitiesByCustomFilter (vCACHost.id, "ManagementModelEntities.svc", "EnterpriseAdminGroups", null, null);
System.log ("Enterprise Admin groups found:" + entities.length);
var prop = new Properties ();
for each {(entity in entities var)
System.Debug ("\n\nentity:" + entity);
Prop.put (Entity.GetProperty ("adminname"));
}
Thank you!
OK, I think I finally thought to it. GetFabricGroupAdminByVirtualMachine (vCAC:VCACHost vCACHost, vCACCAFE:VCACHost vCACCAFEHost, vCAC:VirtualMachine virtualMachine) is created. The method returns a string value of the user name found an admin of fabric for one of the groups of fabric for the computing resource that belongs to the virtual computer.
Here is the code:
If (! vCACHost) {}
throw "Missing vCACHost (vCAC:VCACHost);
}
If (! vCACCAFEHost) {}
throw "Missing vCACCAFEHost (vCACCAFE:VCACHost);
}
If (! virtualMachine) {}
throw "Missing virtualMachine (vCAC:VirtualMachine);
}
var vchost = virtualMachine.getEntity () .getLink (vCACHost, 'Host') [0];
var fabricGroups = vchost.getLink (vCACHost, 'EnterpriseAdminGroups');
var tenantName = vCACCAFEHost.tenant;
var authorClient = vCACCAFEHost.createAuthorizationClient ();
var authorPrincipalSvc = authorClient.getAuthorizationPrincipalService ();
var currPage = 1;
numPages var = 1;
var maxItemsPerPage = 25;
loop through each page
While (currPage<= numpages)="">=>
var page = new vCACCAFEPageOdataRequest (currPage, maxItemsPerPage);
var princExtResult = authorPrincipalSvc.getPrincipalExtensions (tenantName, page);
updating with the number of pages received
numPages = princExtResult.getMetadata () .getTotalPages ();
for (var i in {princExtResult.getContent ())}
var princExt = princExtResult.getContent ([i]);
var spans = princExt.getScopes ();
for {(var j in spans)
var range = extended [j];
for (k fabricGroups) {}
{If (scope.getName () = {fabricGroups [k] .getProperty ('AdminName'))}
var scopeRoles = scope.getPrincipalScopeRole ();
for (var x in scopeRoles) {}
If (scopeRoles [x] .getName () = "Company administrator") {}
found a fabric admin
System.Debug ("found fabric group admin:" + princExt.getDisplayName ());
Return princExt.getDisplayName ();
}
}
}
}
}
}
currPage ++;
}
no users found
Returns a null value.
Tags: VMware
Similar Questions
-
Try to find the question I posted, click my contributions & he says I posted without question.
I posted a few questions and I can not find them or that the answers.
Clicking on the e-mail link to verify my email address. So I think I did it right. I just want to know the right way to ask a question and get the answer. This is the 1st time I'am using this forum (this system).FireFox froze up on me during my session, but I think I already posted my question, but maybe something got screwed up.
I also pointed out to one of my own post (to give more information). But there is one more. I can't find ether of them now.
See [920351/questions/920351]
-
Try to find the model number to get the necessary drivers
I'm trying to figure out what my information for my Ideapad Y550 laptop computer support. I will reinstall windows and try to find the necessary drivers for my laptop, after I format my hd. I know that my laptop is a Y 550 series with a model number 4186, however, there is one last step choose your model specified before retrieving the necessary drivers. (http://support.lenovo.com/en_US/downloads/default.page?selector=expand#) I tried looking at the sticker on the bottom of my laptop and I tried to open system information under System Tools, without a bit of luck. I have not tried to pass through the BIOS, but simply because I don't think I would have to order to fiind this simple information. I tried Googling, and like many, does not. Does it really matter what model to choose for my drivers or I can pick and hope for the best?
' afternoon...
Welcome to the community.
Here is your driver Y550 matrix: http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?&DocID=HT073108
He must have just about everything what you need
HTH.
-
I'll try to find the right forum to ask questions about Outlook Express 6
I'll try to find the right forum to ask questions about Outlook Express 6
XP: Networking, Mail & onlinehttp://social.answers.microsoft.com/Forums/en-US/xpnetwork/threads Bruce Hagen MS - MVP [Mail]
-
Find the table of characters on my computer if it is not in the accessory file
I write a scientific article for the school and could not find the table of characters on my computer. I looked in Accessories - System Tools and nothing. I should I reinstall or at least find a site online that will show you the appropriate key strokes to get what I'm looking for
Hello
Start - type in the search box-> find the table of characters at the top of list - double click it to run it.
You can also right click and COPY then PASTE an icon on the desktop or the start menu.
I hope this helps.
Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.
-
ODI-26174 error when try to turn the Table in the model
Hello
I got a strange error when I try to turn the table in the model.
I created the new user (with subsidies), I created the new physics and logic diagram.
I created new model also. When I try to reverse table I ODI-26174 database connection is not available error
I tried to measure option using RKM reverse .it. But why it has not been reversed by using option Standart?
ava.sql.SQLException: i/o error: the network adapter could not establish the connection
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter.getConnection(OnConnectOnDisconnectDataSourceAdapter.java:74)
at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1128)
Any Solution for this?
Concerning
AETL
Hi aetl,.
If you open the database server in the physical topology and click 'test connection', is it effective?
If this isn't the case, you must set your connection details, maybe check that the tnsnames.ora is correct and that the network access is ok (including firewalls,...). You can try a tnsping on your database.
Kind regards
JeromeFr
-
I'll try to find the Brush tool that is supposed to be in the tool Panel, but I can't find the tools Panel. I just bought 14 items for my PC. Also, I want to be able to have several photos to the top at the same time so I can move something from one photo to another, but I didn't understand how to do this. I had worked with 10 items. It's quite confusing to me.
Chantig1 wrote:
I'll try to find the Brush tool that is supposed to be in the tool Panel, but I can't find the tools Panel. I just bought 14 items for my PC. Also, I want to be able to have several photos to the top at the same time so I can move something from one photo to another, but I didn't understand how to do this. I had worked with 10 items. It's quite confusing to me.
I could be wrong, but I think the tool 'tool shape history' exists only in the full Photoshop...
My advice is to use the help file (in online or download the manual pdf https://helpx.adobe.com/pdf/photoshop-elements_reference.pdf)
The interface has been changed in version 10, and you'll save time by looking at the different tutorials about it.
The tool options palette is on the background, you can open it in the horizontal icon bar: second icon of the tool option palette or a first for the photo tray.
Look at the menu display to choose how view several files at the same time. There is also an option in the menu Edit/Preferences to "allow the floating windows in expert mode.
To move one photo to another, you can use the photobin to drag a photo to another already open in the display panel. You can also drag layers in the layers panel to another picture displayed.
-
Try to find the extended ICA if I use a graph on a t shirt, anyone know?
Try to find the extended ICA if I use a graph on a t shirt, anyone know?
Hello
In the FAQ - Adobe Stock helps | Frequently asked questions
Adobe Stock offers licenses allowing licensees to sell products or services based on an image?
At the moment, Adobe Stock only provides standard licenses, allowing the licensee to use the images only for illustration purposes.
-
Try to find the railways assets numbers per Lun
I try to find the number of active paths to just a single Lun, to control if I had a fiber optic connection down. I keep fit in a corner, because at the first right with a Get-view of a host and fish around in the multipathsection. But really I just want to test 1 Lun on all my guests to see how active paths each host has it. And it seems that orders of the Get-ScsiXX you can not specify a single lun.
Am I confused somewhere?
Have you tried it like that
$canonicalname = "naa.600507540180809ef0000000000001ba" $esx = Get-VMHost -Name MyEsx Get-ScsiLun -VMHost $esx -CanonicalName $canonicalname | Select CanonicalName, @{N="Active Paths";E={Get-ScsiLunPath -ScsiLun $_ | where {$_.State -eq "active"} | Measure-Object | Select -ExpandProperty Count}}
-
I have Adobe Reader XI with the package that allows me to send a PDF file and convert PDF files to Word. When I open a pdf file and you try to find the search shows no match, even if the word I'm looking for is in the document. Suggestions how to search?
A scanned document is an image; You can't find a picture.
If the image contains text, recognition of characters (OCR) will convert the 'text' in the image in real text (searchable, editable).
OCR can be performed automatically when converting a PDF to Word, using the ExportPDF service.
To run OCR inline in a PDF document, you will need Acrobat.
-
Try to find the anchor under Insert link do not.
Hello
Using the last CBWMS and try to find the anchor link command in the Insert menu.
Not here of ideas anyone?
Bob
It has been deleted as the use of named anchors has been deprecated by the W3C (the organization responsible for the expansion and preservation of HTML and CSS). Fortunately, there is another way to do this:
Give a unique ID to the target element, and then select the trigger and enter "#ID" in the link of the property inspector (replace the letters 'ID' with the value you used for the unique ID of the target element). It is perhaps not as simple as the item in a menu, but it works well. You can also drag the icon from the bull's-eye and drop it on the item target in Design or Code mode to get the same functionality. So-
...
Welcome to everything which
-
Find the table number B >; = number in the table but <; then next entry b
I'm trying to understand the following: find the table number B > = number in the table but < then next entry b
Table A
5
10
21
20
Table B
8
12
16
23
40
The 5 entry in table A, I would like to return 8 b
For the 10 entry I would lke to return 12 b
21 entry I would like to return 23 b
20 entry I would like to return 23 b
Edited by: Withnoe October 5, 2012 09:19
Edited by: Withnoe October 5, 2012 10:54CREATE TABLE TAB_A (CLASS # VARCHAR2 (10), THE NUMBER OF TERM);
CREATE TABLE TAB_B (CLASS # VARCHAR2 (10), THE NUMBER OF TERM);INSERT INTO TAB_A VALUES ('BIOL 520', 201010);
INSERT INTO TAB_A VALUES ('BIOL 521', 201250);
INSERT INTO TAB_A VALUES ('BIOL 522', 200980);INSERT INTO TAB_B VALUES ('BIOL 520', 201110);
INSERT INTO TAB_B VALUES ('BIOL 520', 201150);
INSERT INTO TAB_B VALUES ('BIOL 520', 201250);
INSERT INTO TAB_B VALUES ('BIOL 521', 201250);
INSERT INTO TAB_B VALUES ('BIOL 521', 201260);SELECT MIN (TAB_B.TERM) TERM, TAB_B.CLASS # TO TAB_A, TAB_B
WHERE TAB_A.CLASS # = TAB_B.CLASS #.
AND TAB_B.TERM > TAB_A.TERM
GROUP TAB_B.CLASS #;Please let us know if you need anything else. Thank you
-
Try to find the terms of use of documents and Web pages
Hi am writing my
my university thesis. I'll try to find the terms of use on the use of VMware
diagrams, documentation and Web page in thesis. Heart of my thesis is
the best possible instructions how to install and use Labmanager in
University teaching. No idea how I read, call, or mail?
I think that you can reuse for educational purposes. Just follow the correct citation format (APA, MLA, etc.) for the way in which the thesis is written.
And I see no reason why you can't, as much as it is for the promotion and support of our product.
Kind regards
EvilOne
VMware vExpert 2009
NOTE: If your question or problem has been resolved, please mark this thread as answered and awarded points accordingly.
-
How to find the table in a schema, if I only have a particular column name
Hi all
Ideal if some1 could help me, I know not a column name and I need to find the table that actually holds this column paricular name I know.
is it possible to find this particular table with SQL?
Thank you
RahulSelect the table TABLE_NAME from user_tab_columns where column_name = 'COLUMN_NAME '.
-
cannot find the table name of the multiple tables which has more columns.
Hello
I'm trying to find the NAME of the TABLE from multiple tables which has more columns. I can't count the number of columns in the table, but cannot find the name of the table that has larger columns in other tables.
SELECT TABLE_NAME, COUNT (*) FROM THE USER_TAB_COLUMNS WHERE TABLE_NAME LIKE '% LOC' GROUP TABLE_NAME
Thank you.in SQL, you can try this:
var v_name varchar2(40) begin with subq1 as ( select table_name, count(*) as column_count from user_tab_columns where table_name like 'FIBER%' group by table_name order by count(*) desc ) select table_name into :v_name from subq1 where rownum = 1; end;
To get the result:
select :v_name from dual
The clause "with" brings together all the tables and ordered them all first, by the greatest number of columns
The final query uses the rownum restriction so that it takes the first name from the table of results of the subquery.The restriction of rownum also exactly guarantees a result each time so that it will work with the variable binding.
RP
Maybe you are looking for
-
HP Battery Check: - Unknown state (94)
Hello. I wanted to run the HP Battery Check to know how was my battery. But it does not recognize my battery. My battery seems to be getting worse lately, and it does it not take a charge as long as it used to do. I downloaded the latest HP Support A
-
5660 envy: envy 5660 leaves the impression
Use a desire 5660 for 5 months. It is connected to my network via a wireless connection, no USB cable. I have 4 Windows 10 computers that are on my home network and my first installation of the printer all worked very well. All PC were able to print.
-
Easy way to re - partition a hard drive? and not lose everything?
Last year I got a virus on my laptop, I contacted Microsoft technical support to remove the virus. We had to reimage my hard drive, tech had me create two partitions. Now the 1st partition (c) is complete, I can combine the two disks (C: and D :) w
-
There is no disc in the drive please insert a disk into the drive device drive hard/dr3/dr4 etc etc. Original title: coordinator.exe no disc
-
HelloCan I change my payment information please? Thank you very much!Ke Chenli