Đang Thực Hiện

117541 UserDesktop Configuration

Hello,

Program is executed and the following happens...

Starts as two separate threads:

- Start-Menu Builder

- Desktop Builder

The startmenu builder and desktop builder work exactly in the same way, but just use a couple of different files and folders:

Program will reside in %programfiles%\userdesktopconfiguration, with an [url removed, login to view] file (that contains the path to XML File for Startmenu File, and path to Desktop XML File)

Start-Menu Builder:

1. Reads a XML File on a share (gets location from [url removed, login to view]). If can't get to location skips to 3

2. Uses this file to gather what shortcuts should be used and places them in the folder structure they should be in %userprofile%\temp_startmenu (see below for how it works out what shortcuts should be allocated)

3. Will clear out the current startmenu in (%userprofile%\start menu\programs), and then copy the shortcuts & folders from the temporary folder – but will only copy if they resolve. If a folder has no resolved shortcuts, then the folder is not copied.

4. The thread exits

Desktop Builder:

1. Reads a XML File on a share (gets location from [url removed, login to view]). If can't get to location skips to 3

2. Uses this file to gather what shortcuts should be used and places them in the folder structure they should be in %userprofile%\temp_desktop (see below for how it works out what shortcuts should be allocated)

3. Will clear out the current desktop in (%userprofile%\desktop), and then copy the shortcuts & folders from the temporary folder – but will only copy if they resolve. If a folder has no resolved shortcuts, then the folder is not copied.

4. The thread exits

How shortcuts are allocated:

When the program is trying to work out what shortcuts the user should get the following happens:

- Reads the SID of the user logging in

- Reads the security groups the shortcut applies to, and then it see if it's a member of the group (or a member of a group that's the member of the group listed - i.e. nested groups that will work away through all the groups upto 50 levels)

- If a member adds the shortcut, if not will not add it.

Thanks

Kỹ năng: .NET, Bất kì công việc gì, Visual Basic

Xem thêm: member programs, get temporary work, net program security, shortcut desktop program, nested, visual basic xml program, shortcuts, app shortcut, app copy files, menu structure app, member group nested, program files following programs, shortcut path, visual basic configuration file, path app, gather menu, app reads xml, net logging, user exits, copy threads, builder net, net builder, visual basic copy files, visual basic copy file, visual basic config

Về Bên Thuê:
( 11 nhận xét )

Mã Dự Án: #1863708