Deleted Users Folders remaining

Post Reply
Darkhorse
Posts: 141
Joined: Wed Mar 09, 2011 1:25 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2003 2007 2010 2013

Deleted Users Folders remaining

Post by Darkhorse »

Hi all

When i delete a user from the system their personal folder containing there views still remains, is there a work around in removing these folders? also the same occurs with cubes

thanks for reading
Paul Segal
Community Contributor
Posts: 314
Joined: Mon May 12, 2008 8:11 am
OLAP Product: TM1
Version: TM1 11 and up
Excel Version: Too many to count

Re: Deleted Users Folders remaining

Post by Paul Segal »

You can manually delete these folders after deleting the user on TM1, but afaik there is no option to delete the folder when deleting the user. I guess you could wrap it all up in a TI process if you felt strongly enough about it.
Paul
Darkhorse
Posts: 141
Joined: Wed Mar 09, 2011 1:25 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2003 2007 2010 2013

Re: Deleted Users Folders remaining

Post by Darkhorse »

Paul Segal wrote:You can manually delete these folders after deleting the user on TM1, but afaik there is no option to delete the folder when deleting the user. I guess you could wrap it all up in a TI process if you felt strongly enough about it.

I also thought about this approach however theres already a a huge backlog of folders on the server, is there anyway of checking to see whats live and isnt and delte the "Clutter" or are we litterally stick manually removing the folders?
Paul Segal
Community Contributor
Posts: 314
Joined: Mon May 12, 2008 8:11 am
OLAP Product: TM1
Version: TM1 11 and up
Excel Version: Too many to count

Re: Deleted Users Folders remaining

Post by Paul Segal »

It shouldn't be too difficult to write a batch or vbs job that checks against a list of valid users or other directories against the sub-directories under your data directory, and then deletes any that don't match. However, unless you really do have thousands, I wonder whether it's not better to do a one-off manual exercise and then bake deleting the directory at the same time as deleting the user into your process. There are any number of open source /free directory managers that will help you do the manual delete. Winmerge has been recommended in the past and could help with this.
Paul
Darkhorse
Posts: 141
Joined: Wed Mar 09, 2011 1:25 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2003 2007 2010 2013

Re: Deleted Users Folders remaining

Post by Darkhorse »

hmm all great ideas guys thanks
Post Reply