Set Permission on RemoteApp 2012 R2
How can I set 2012 R2 RemoteApp to allow certain users\groups accessing certain application and not other application without creating a new COllection
Hi Wen,
Thank you for posting in Windows Server forum.
In addition to Razwer comment, please check below articles.
Introducing RemoteApp User Assignment (For reference)
http://blogs.msdn.com/b/rds/archive/2009/06/12/introducing-remoteapp-user-assignment.aspx
Distribution of Remote Apps and desktops in Windows Server 2012
http://www.virtualizationadmin.com/articles-tutorials/vdi-articles/general/distribution-of-remote-apps-and-desktops-in-windows-server-2012.html
Hope it helps!
Thanks.
Dharmesh Solanki
Similar Messages
-
Got an IPad mini for Xmas. My home network runs off a BT Home Hub. I can't get the iPad to recognise or connect to the wifi network despite a strong signal. The device recognises the presence of a BT Network but keeps asking lots of nonsene stuff - like IP address etc etc which it ought to be able to pick up automatically. The BT Network was set up in Janiary 2012. Any suggestions?
hello again,
i didn't really dare to delete the blue home folders before, just in case everything went wrong, but now i think i have so little space that i can't afford to lose 2.25gb!
one thing that slightly worries me is the fact that the 'proper' library folder (in the home icon) is 2.09gb, whereas the 'wrong' one (from the blue folder forenamesurname) is 2.24gb - this is the one i would be deleting. just seems odd to delete a larger file than the one i presume i'm using.
"Move everything you want to keep out of the blue folders, and then place both of the folders on your desktop. If everything works properly after a few days, delete both folders. If you are asked for your administrator password at any point or if either folder is copied instead of moved when dragged, don't delete that folder."
by 'everything you want to keep', does this include the library folder? 'cause there doesn't seem to be much else, and i'm not sure if deleting the library folder would ruin all my preferences.
i've put both of the folders on the desktop, it didn't ask for the admin password or try to copy them, so i guess that's good news. what kind of things should i be looking out for to act differently?
are the folders not in use now that they are on the desktop?
also if i put them in the trash will they have no effect? i.e. the same as permanently deleting them, so i could put them in the trash as a test.
cheers, stephen. -
Error: The user does not exist or is not unique - when setting permission programmatically
Hi,
I am custom Sequential workflow in which I am breaking the permission and setting permission to list item.
I have used the below code for setting Permission:
SPRoleDefinition oSPRoleDefinition = oSPWeb.RoleDefinitions["RoleName"];
//Grant permission to Manager
SPRoleAssignment oSPRoleAssignmentManager = new SPRoleAssignment(strManagerLanID, strManagerEmail, "", "");
oSPRoleAssignmentManager.RoleDefinitionBindings.Add(oSPRoleDefinition);
CurrentListItem.RoleAssignments.Add(oSPRoleAssignmentManager);
I am getting the error as :
Error: The user does not exist or is not unique.
How to fix this?
ThanksI think you misunderstood the solution proposed by frederic, what he is suggesting is that the error doesn't come from your code but from the user account
have you tried with another account ? (maybe the one you are using to log to your environment)
With this information, it will help us to know if the problem comes from your code or from the user account
Best regards, Christopher.
Blog |
Mail
Please remember to click "Mark As Answer" if a post solves your problem or
"Vote As Helpful" if it was useful.
Why mark as answer? -
Hello!
Is Apple boot camp on Mac OS 10.7 lion ready to support Windows 8 after it is set to release in 2012?
Thanks!I think you'll have to wait until one or both of those OS's are actually released to be able to know the answer to this question. Apple put out special Boot Camp updates for Windows7 when it came out. Past performance shows that Apple is on the ball, but nothing is locked in stone at this time.
The only people who could really know the answer to what the beta's are planning are the same people who have signed Non Disclosure Agreements and couldn't say anything here anyway. The rest of us volunteers are not allowed to speculate too much about Apple's plans or design decisions that they have not announced. -
I created a client setting from CAS for one of primary site, but user from that site with member of "Operations Administrators" security roles is not able to view/modify the property of this client setting on the Primary
Site server console. When I check the client setting, the security group that user belong to has full control permission to the client setting? Can I know where is wrong? DB permission?
JasonI'm not sure that I fully understand your question...
If you want to delegate the control of a custom Client Setting to a specific administrator, you will need to do it via RBA.
Create/use a custom scope (not Default) and assign the scope to the custom client setting. Then assign the Security Role (e.g. "Operations Administrators") to the admin user and restrict it to the scope.This is so that the admin only has permissions on client
setting(s) that are linked to the select scope.
more on RBA:
http://blogs.technet.com/b/configmgrteam/archive/2011/09/23/introducing-role-based-administration-in-system-center-2012-configuration-manager.aspx
If the settings "All instances of the objects that are related to the assigned security roles" is working, it could be that you did not create a scope to assign when using another option (e.g. "Only the instances of objects that are assigned to the scpecified
security scopes and collections" or "Associate assigned security roles with specific security scopes and collections"). -
RemoteApp 2012 R2 Restrict Access to Session Host Desktop
Here is our current situation: I have set up Remote Desktop Services on Server 2012 R2 and published RemoteApp programs. Everything works great with load balancing, collections, etc... and I have been very impressed. However, as it always has been an issue,
I have always had the question of how to allow users to access RemoteApp applications on the session host without allowing them to RDP directly onto the server to access the server desktop. Obviously, you have to add them to remote desktop users group and
they need to be allowed to access over RDP so I figure that the next best thing is to restrict access to the desktop should they manually type the name into an RDP client connection. I know you couldn't restrict them from using mstsc.exe because they need
that to open the RemoteApp since it just uses RDP and I am aware of using GPO's to restrict access to drives and many other things but I would like to remove the desktop altogether. Would it be plausible to remove the GUI feature and restrict access to CMD
and SCONFIG through Server Manager and still allow the session host to present RemoteApp applications or is there a better way to approach this? I figured if I just remove the GUI and access to cmd and sconfig then if they logged on, they would get a blank
screen. Thank you in advance for your time!Hi,
One technique for this is to set the Custom User Interface group policy setting to logoff.exe. You would have the GPO apply to normal users, but not applied to Domain Admins (or other users that you need to have full desktop).
User Configuration\Administrative Templates\System
Custom User Interface Enabled
Interface file name: %systemroot%\system32\logoff.exe
You should also use NTFS permissions, group policy settings, AppLocker, etc., to further restrict what users are able to do.
-TP -
RemoteApp 2012 problem on windows XP.
Hello
I have a problem with RemoteApp web access on Windows Server 2012 when i connect with Windows XP clients. The internet explorer shows the credential promt always and i can not access to the server. I have not this problem when i connect with windows 7 clients
with Remote Desktop client 8.1. Remote Desktop client 8.1 is not available on windows XP but i have installed 7.0 RDC but the problem continues.
What i have to do to correct this problem?
Thanks and sorry my english.When you say "The internet explorer shows the credential prompt always and i can not access to the server" do you mean it simply keeps re-prompting you to login and doesn't get any further, or are you getting any error messages?
Since you've already installed RDC 7.0, the other two things to check are that the XP machine is running SP3, and that you've enabled CredSSP on there (as it's not enabled by default on XP). To check this, click Start > All Programs > Accessories >
Remote Desktop Connection, then click the little computer icon in the title bar, left of the words "remote desktop connection", then choose "about", or "help > about". If it says "Network Level Authentication not supported"
or has no reference to this at all, you need to enable it. If it's not enabled then have a look at
http://support.microsoft.com/kb/951608 which has instructions for enabling it.
Depending on the options enabled on the 2012 server, it's possible however that you simply can't connect from an XP machine at all. Some of the newer features on 2012 RDP don't support XP as they rely on functionality that is missing from XP. Annoyingly
I can't find a reference to what those features at right now, but I know with our setup (with those features disabled currently) we're able to support XP clients, but have are intending to end support for it so we can enable those features and improve functionality
for the newer clients. -
RemoteApp 2012 and File Type Associations
Hi, All :),
the scenario is like this - 2 x Server 2012: one as the RD Connection Broker and RD Web Access and one as the RD Session Host (clients are Windows 7). ALMOST everything works: there is one collection, several applications, all successfully thrown into
the RemoteApp and Desktop Collections by GPO (Powershell script - http://gallery.technet.microsoft.com/ScriptCenter/313a95b3-a698-4bb0-9ed6-d89a47eacc72/).
But one thing doesn't work - file type associations. Well, I want the client without, for example, Office installed to open the RemoteApp application (Excel) by clicking on the XLSX file. When looking at the application properties -> File Type Associations
-> Current Associations column, I see the name of the collection, which includes Excel ... but it does not work. After updating the RemoteApp and Desktop Connections on the client, the RDP file with Excel noticed a new line:
remoteapplicationfileextensions: s:. csv,. xls,. xlsx,. xltx
How do I make it work? I know that in RemoteApp on Server 2008R2 you could export the MSI file that took care of File Type Associations, but what to do in case of Server 2012?Unfortunately, the feature to install file type associations for RemoteApp programs in your GPO-pushed RemoteApp and Desktop Collection is only supported on Windows 8 clients. Several improvement were made over the old MSI-based file type associations, and
those improvements rely upon changes in the Windows 8 OS.
Ultimately file type associations are controlled with registry keys, all of which are documented on MSDN. RemoteApp programs are pretty much the same as any other local program, except the file type is associated with mstsc.exe with some special parameters.
Although the way we register those file type associations in Windows 8 won't work for you, the way the old MSIs used to register them would. You could in theory register the RemoteApp file type associations yourself in the same way that one of the old MSIs
would have done (you could use some sort of GPO-pushed script on the clients).
The easiest way to do this would be to track down one of those old MSIs, install it, and do a before-and-after view of the registry to see what changes it makes.
Hope that helps,
Travis Howe | RDS Blog: http://blogs.msdn.com/rds/default.aspx -
"Hide Instance" setting not working with 2012 SQL Server Database Engine
I have turned on the "Hide Instance" setting in SQL Server Configuration Manager on my SQL Server 2012 Database Server. After several restarts of my SQL Server/Agent/Browser services, as well as the server, I am still able to browse for the Instance
from another computer. I can also find the instance by running the "sqlcmd -L" command. Is there another step to get this to work? I have seen other people suggest that you disable the SQL Browser service, but we would like to avoid
that.Hi,
According to the description, I know the you are able to find the instance in the Browse for Servers window from another computer after turning on the ‘Hide Instance’ setting in SQL Server Configuration Manager. Are you able to connect to the instance as
well?
Make sure that the HideInstance has been set to 1 in the below registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL11.instancename\MSSQLServer\SuperSocketNetLib
Note: You may take a backup of the key before make any changes on the registry keys.
For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
How to back up and restore the registry in Windows
Thanks.
Tracy Cai
TechNet Community Support -
Any Setting/Permission for GRPO to Restrict Update
Dear all
Is there any setting for Restrict permission for update GRN before add,for example user want add GRN only based on Purchase order (Quantity,price,tax,item...)he should edit the GRN,he can only ADDhi,
Make a seperate approval procedure for the GRPO. then he(End User) can add GRPO. but the manager can reject are approve the docuemtns like wise you can restrict the user.
it means it is draft mode this will not create the journal entry. once the document gets approve then it will create teh journal and inventory gets updated.
Regards
Chidambaram -
Set permission level for views
I have a list which has some views.
I am showing one of the view in a list view webpart on a wiki page. I dont want the users to view the other views on this list apart from the view set up on the webpart.
How do I set the permission levels to achieve the same.
Many thanks in advance.The views can either be personal or public. If the view is public it will be visible to users. You may either need to delete the view or create a new personal view similar to the public view before deleting it.
Blog | SharePoint Learnings CodePlex Tools |
Export Version History To Excel |
Autocomplete Lookup Field -
Setting up Mircrosoft Server 2012
Hellow friends......i need some suggestions from you for setting up a network. our company is supplying and repairing of Locomotives. our head office is in one city and two repairing center in other cities and we have warehouse as well.
Problems:
the problems we are facing some of them are.. we dont have central command for example one sofware in repairing center has another version and in head office another which make a lot of problems some of the times.and printing any body can print whatever he
wants and there is no record of printing.
please advise me if we purchase a server 2012 can our problems be solved and what hardware and software we need ....and is it possible a user from our repairing center send a print from the printer of our head office. or if you can refer me a link where i can
find all the functions i tried to google it but the language was so technical i cant understand too much...
Best Regards1. This question is too general one. More specific information is needed. I do recommend reading something about the infrastructure and hire someone knowledgeable who will set the system.
2. Consider using RDS. This will centralize your services. Software should comply with RDS requirements (RDS <-> terminal server)
3. Consider what type of network connection you will use. This will influence the cost.
Regards
Milos -
Exchange 2013 CU2, Alert for OWA Health set unhealthy from SCOM 2012
I am facing issue in Exchange 2013 CU2, I got this alert from SCOM 2012 atleast 5-6 times a day, OWA health set is unhealthy, I have done all the steps mentioned in this web link. Authentication type for OWA Virtual directory is integrated windows and Basic.
I have 2 CAS servers, and this alert generated from both of them.
http://technet.microsoft.com/en-us/library/ms.exch.scom.OWA(EXCHG.150).aspx?v=15.0.712.24
Alert: Health Set unhealthy
Source: EX-CAS - OWA
Path: EX-CAS;EX-CAS
Last modified by: System
Last modified time: 1/5/2014 8:15:08 PM
Alert description: Outlook Web Access logon is failing on ClientAccess server EX-CAS.
Availability has dropped to 0%. You can find protocol level traces for the failures on C:\Program Files\Microsoft\Exchange Server\V15\Logging\Monitoring\OWA\ClientAccessProbe.
Incident start time: 1/6/2014 4:05:08 AM
Last failed result:
Failing Component - Owa
Failure Reason - CafeFailure
Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Exchange.Net.MonitoringWebClient.ScenarioException:
Microsoft.Exchange.Net.MonitoringWebClient.ScenarioException:
Failure source: Owa
Failure reason: CafeFailure
Failing component:Owa
Exception hint: CafeErrorPage: CafeFailure Unauthorized Inner exception: Microsoft.Exchange.Net.MonitoringWebClient.CafeErrorPageException
ErrorPageFailureReason: CafeFailure, RequestFailureContext: FailurePoint=FrontEnd, HttpStatusCode=401, Error=Unauthorized, Details=, HttpProxySubErrorCode=, WebExceptionStatus=
Microsoft.Exchange.Net.MonitoringWebClient.CafeErrorPageException: An error occurred on the Client Access server while processing the request
WebExceptionStatus: Success
GET https://localhost/owa/ HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; MSEXCHMON; ACTIVEMONITORING; OWACTP)
Accept: */*
Cache-Control: no-cache
X-OWA-ActionName: Monitoring
Cookie:
HTTP/1.1 401 Unauthorized
request-id: 211474d2-a43e-4fab-8038-3aab35353568
X-FailureContext: FrontEnd;401;VW5hdXRob3JpemVk;;;
Server: Microsoft-IIS/7.5
WWW-Authenticate: Negotiate,NTLM,Basic realm="localhost"
X-Powered-By: ASP.NET
X-FEServer: EX-CAS
Date: Mon, 06 Jan 2014 04:14:47 GMT
Content-Length: 0
Response time: 0s
---> Microsoft.Exchange.Net.MonitoringWebClient.CafeErrorPageException: Microsoft.Exchange.Net.MonitoringWebClient.CafeErrorPageException
ErrorPageFailureReason: CafeFailure, RequestFailureContext: FailurePoint=FrontEnd, HttpStatusCode=401, Error=Unauthorized, Details=, HttpProxySubErrorCode=, WebExceptionStatus=
Microsoft.Exchange.Net.MonitoringWebClient.CafeErrorPageException: An error occurred on the Client Access server while processing the request
WebExceptionStatus: Success
GET https://localhost/owa/ HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; MSEXCHMON; ACTIVEMONITORING; OWACTP)
Accept: */*
Cache-Control: no-cache
X-OWA-ActionName: Monitoring
Cookie:
HTTP/1.1 401 Unauthorized
request-id: 211474d2-a43e-4fab-8038-3aab35353568
X-FailureContext: FrontEnd;401;VW5hdXRob3JpemVk;;;
Server: Microsoft-IIS/7.5
WWW-Authenticate: Negotiate,NTLM,Basic realm="localhost"
X-Powered-By: ASP.NET
X-FEServer: EX-CAS
Date: Mon, 06 Jan 2014 04:14:47 GMT
Content-Length: 0
Response time: 0s
--- End of inner exception stack trace ---
at Microsoft.Exchange.Net.MonitoringWebClient.BaseExceptionAnalyzer.Analyze(TestId currentTestStep, HttpWebRequestWrapper request, HttpWebResponseWrapper response, Exception exception, Action`1 trackingDelegate)
at Microsoft.Exchange.Net.MonitoringWebClient.HttpSession.AnalyzeResponse[T](HttpWebRequestWrapper request, HttpWebResponseWrapper response, Exception exception, HttpStatusCode[] expectedStatusCodes, Func`2 processResponse)
at Microsoft.Exchange.Net.MonitoringWebClient.HttpSession.EndSend[T](IAsyncResult result, HttpStatusCode[] expectedStatusCodes, Func`2 processResponse, Boolean fireResponseReceivedEvent)
at Microsoft.Exchange.Net.MonitoringWebClient.HttpSession.EndGet[T](IAsyncResult result, HttpStatusCode[] expectedStatusCodes, Func`2 processResponse)
at Microsoft.Exchange.Net.MonitoringWebClient.Authenticate.AuthenticationResponseReceived(IAsyncResult result)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Net.MonitoringWebClient.BaseTestStep.EndExecute(IAsyncResult result)
at Microsoft.Exchange.Net.MonitoringWebClient.Owa.OwaLogin.AuthenticationCompleted(IAsyncResult result)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Net.MonitoringWebClient.BaseTestStep.EndExecute(IAsyncResult result)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Bool
States of all monitors within the health set:
Note: Data may be stale. To get current data, run: Get-ServerHealth -Identity 'EX-CAS' -HealthSet 'OWA'
State
Name
TargetResource HealthSet
AlertValue ServerComponent
NotApplicable OwaCtpMonitor
OWA
Unhealthy None
States of all health sets:
Note: Data may be stale. To get current data, run: Get-HealthReport -Identity 'EX-CAS'
State
HealthSet
AlertValue LastTransitionTime
MonitorCount
NotApplicable ActiveSync
Healthy 1/3/2014 5:21:13 AM
2
NotApplicable AD
Healthy 11/24/2013 6:54:18 AM
10
NotApplicable ECP
Healthy 1/5/2014 3:03:05 AM
1
Online
Autodiscover.Proxy
Healthy 11/20/2013 10:06:37 AM
1
NotApplicable Autodiscover
Healthy 1/3/2014 10:18:17 PM
2
Online
ActiveSync.Proxy
Healthy 11/20/2013 10:06:37 AM
1
Online
ECP.Proxy
Healthy
11/21/2013 6:16:08 PM 4
Online
EWS.Proxy
Healthy 11/20/2013 10:06:37 AM
1
Online
OutlookMapi.Proxy
Healthy 11/24/2013 6:54:28 AM
4
Online
OAB.Proxy
Healthy 11/19/2013 7:14:34 PM
1
Online
OWA.Proxy
Healthy 11/20/2013 10:06:37 AM
2
NotApplicable EDS
Healthy 1/3/2014 5:19:56 AM
10
Online
RPS.Proxy
Healthy 1/3/2014 5:21:27 AM
13
Online
RWS.Proxy Healthy
1/3/2014 5:20:09 AM 10
Online
Outlook.Proxy
Healthy 1/3/2014 5:21:12 AM
4
NotApplicable EWS
Healthy 1/3/2014 10:18:17 PM
2
Online
FrontendTransport
Healthy 1/5/2014 3:47:09 AM
11
Online
HubTransport
Healthy 1/5/2014 3:47:09 AM
29
NotApplicable Monitoring
Unhealthy 1/5/2014 4:05:57 AM
9
NotApplicable DataProtection
Healthy 1/3/2014 5:25:42 AM
1
NotApplicable Network Healthy
1/4/2014 1:51:16 PM 1
NotApplicable OWA
Unhealthy 1/5/2014 8:05:08 PM
1
NotApplicable FIPS
Healthy 1/3/2014 5:21:12 AM
3
Online
Transport
Healthy 1/5/2014 4:11:00 AM
9
NotApplicable RPS
Healthy 11/20/2013 10:07:12 AM
2
NotApplicable Compliance
Healthy 11/20/2013 10:08:10 AM
2
NotApplicable Outlook
Healthy 11/21/2013 6:12:54 PM
2
Online
UM.CallRouter
Healthy 1/5/2014 3:47:10 AM
7
NotApplicable UserThrottling
Healthy 1/5/2014 4:16:42 AM
7
NotApplicable Search
Healthy
11/24/2013 6:55:06 AM 9
NotApplicable AntiSpam
Healthy 1/3/2014 5:16:43 AM
3
NotApplicable Security
Healthy 1/3/2014 5:19:28 AM
3
NotApplicable IMAP.Protocol
Healthy 1/3/2014 5:21:14 AM
3
NotApplicable Datamining
Healthy 1/3/2014 5:18:34 AM
3
NotApplicable Provisioning
Healthy 1/3/2014 5:19:56 AM
3
NotApplicable POP.Protocol
Healthy 1/3/2014 5:20:44 AM
3
NotApplicable Outlook.Protocol
Healthy 1/3/2014 5:19:46 AM
3
NotApplicable ProcessIsolation
Healthy 1/3/2014 5:19:26 AM
9
NotApplicable Store
Healthy 1/3/2014 5:20:38 AM
6
NotApplicable TransportSync
Healthy 11/24/2013 6:53:09 AM
3
NotApplicable MailboxTransport
Healthy 1/3/2014 5:21:11 AM
6
NotApplicable EventAssistants
Healthy 11/21/2013 6:22:01 PM
2
NotApplicable MRS
Healthy 1/3/2014 5:20:29 AM
3
NotApplicable MessageTracing
Healthy 1/3/2014 5:18:15 AM
3
NotApplicable CentralAdmin
Healthy 1/3/2014 5:17:25 AM
3
NotApplicable UM.Protocol
Healthy 1/3/2014 5:17:08 AM
3
NotApplicable Autodiscover.Protocol
Healthy 1/3/2014 5:17:13 AM
3
NotApplicable OAB
Healthy 1/3/2014 5:20:51 AM
3
NotApplicable OWA.Protocol
Healthy 1/3/2014 5:20:52 AM
3
NotApplicable Calendaring
Healthy 11/24/2013 6:56:59 AM
3
NotApplicable PushNotifications.Protocol
Healthy 11/21/2013 6:16:05 PM
3
NotApplicable EWS.Protocol
Healthy 1/3/2014 5:19:07 AM
3
NotApplicable ActiveSync.Protocol
Healthy
1/3/2014 5:20:16 AM 3
NotApplicable RemoteMonitoring
Healthy 1/5/2014 3:47:09 AM
3
Any solution for this alert, how to rectify it, but OWA is running perfect for all users.Hi,
Sorry for the late reply.
Do we have Exchange 2010 coexistence?
If it is the case, I know the following known issue:
Release Notes for Exchange 2013
http://technet.microsoft.com/en-us/library/jj150489%28v=exchg.150%29.aspx
Please note the "Exchange 2010 coexistence" session.
If it is not related to our problem, please check the IIS log.
If there is any detailed error code, like 401.1, 401.2, please let me know.
Hope it is helpful
Thanks
Mavis
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Mavis Huang
TechNet Community Support -
Setting permission using java code
hi all i am writing a code to upload file from the users to the server. i can write the files to the server but after that i cannot change it's permission to read and execute by all. only the server can read and execute it. i talked about this problem with the systems admin and he suggested i include some sort of java code to set the permission to everyone. can any one suggest me what sort of code is helpful in this regard? i am absolutely helpless about this. any help will be appreciated.
Depends on what you mean. If you want to programatically include/exclude a folder in a, say, File Open dialog that your program displays, then yes, absolutely. If you're asking whether can set an operating system security flag on a folder, then the answer is probably not (at least not without resorting to native code), and it will almost certainly not be portable across different operating systems.
-
Hi,
I have a question that have bothered me for a few day. I'm developing a GUI and would like to set different permissions on the various parts of the GUI.
When the GUI is loaded these permissions are read and components who should not be shown will not be created, is there a smart way to do this with the API?
Solving this with if(buildThis()) { //... } is not nice, have you got any ideas?
Thanx
MDThis is something you will have to handle yourself. Its really not that complex, and if a particular user is not going to see the objects, ever, then theres no point creating them and just setting them invisible. That is a waste of memory. But if you don't ahve the permission level at the beginning, then you'll have to do the setVisible version.
static final int ADMINISTRATOR = 5;
int permissionLevel = getPermissioneLevel(user);
if (permissionLevel > ADMINISTRATOR) {
buildAdministratorTools();
etc.. you probably already know all this, but the quick answer is no, the API can't do this for you.
Maybe you are looking for
-
Is there a way to print out a list of upcoming events so that it includes the times and descriptions of the events instead of printing the whole calendar which only shows the time span and name of the events?
-
New Mac mini Arrived, how do I transfer files from my external FW drive?
I noticed my brand new Mac Mini seems to have a different firewire port than I'm used to seeing on my old G4 Dual 1GHz PowerPc.I was hoping to hook up my external Lacie drive to the Mini to transfer my files. Is it a different connector and is there
-
Problem with attributes labels
Hi All! I try use Busines Componets properties. Exactly attributes labels. I setup labels for each attribute, but no effect on rendering. Anybody have this problem? I use JD 3.1
-
Compare column to another column with a specific value?
What i need to do is compare a column that holds the SiteNames of holidays to another column with the DifficultyDescription of holidays. I want to show that sites that are not included in boldANY*bold* holiday with an "easy" or "moderate" rating. Som
-
Hello Experts we are loading the data into cube: 0COPC_C04 Inventory valuation: material prices and inventory values. For this cube there are 6 different infosource that is supplying the data into cube. 1. 0CO_PC_ACT_05 2. 0CO_PC_ACT_07 3. 0CO_PC_ACT