infor.com
concierge
infor u
developer portal
Home
Groups
Lawson - Technology Customer Community [READ ONLY]
Removing actor from Landmark via secadm utility
unknown
Is there a command that will unassign ALL roles and identities from an actor, then remove the actor completely from Landmark?
I can do this in three steps, but it's not very efficient and I'm looking for a better method:
1 - Remove a role from an actor
secadm role remove -f {actor} {role}
2 - Unassign and delete identities associated with actor, disable actor
secadm actor delete {actor} --force
3 - Remove actor
secadm actor delete {actor} --complete
Thank you!
Anna
Find more posts tagged with
Infor Lawson Technology Group - Discussion
Comments
aszeglin
If I remember right, you don't need to remove the role from the actor in order to delete, you only need to run
secadm -f script-file.txt
script-file.txt would include:
actor delete "ID" --force
actor delete "ID" --complete
But I believe that with ISS, this practice is discouraged. If you're only running Landmark though, I'm trying to remember any other reasons you'd not want to do it. This way you could at least batch up what you're doing into one file and only open one Java processes, which is way quicker.
[Updated on 7/14/2014 2:13 PM]
unknown
Thanks Matt!
I thought that the 'force' directive would remove the actor too, regardless of assigned roles, but it throws the following edit on the --complete:
- Cannot Delete: At Least One Associated Actor Role Exists
Failed for parameters: [actor, delete, {actor}, --complete], with message: Cannot Delete: At Least One Associated Actor Role Exists
We are federated and using ISS, but my thinking is that I can remove an actor on the Landmark side and when I do a sync - the actor will be recreated in Landmark. We're doing some security refreshes and only have a small number of users in Landmark, in the past we've just started clean on the Landmark side and let the sync bring over the actors, associated roles and identities, etc.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Popular Tags
Infor Lawson Human Resources Group - Discussion
Infor Lawson Technology Group - Discussion
General Discussions
VISUAL - Enterprise General Discussions
Infor Lawson Supply Chain Management - Discussion
Process Automation (IPA) - General Discussions
Pegasus - Partner General Discussions
Infor Lawson Supply Chain Group - Discussion
Infor Lawson Financials Group - Discussion
Infor EPM Discussions